From 6581bc28818c6572d5a83aed21c1c7760e35cf50 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Wed, 31 Jan 2024 13:45:34 +0800 Subject: [PATCH] Prevent reply parent hint from being GC-ed --- src/components/status.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/status.jsx b/src/components/status.jsx index 6e6caea3..fb744b4e 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -2446,6 +2446,8 @@ function StatusCompact({ sKey }) { if (sensitive || spoilerText) return null; if (!content) return null; + const srKey = statusKey(id, instance); + const statusPeekText = statusPeek(status); return (