From 6500be2782cb08d25f2781106087fb42395af51d Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Fri, 29 Dec 2023 18:16:08 +0800 Subject: [PATCH] Disable hotkeys in quote posts --- src/components/status.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/status.jsx b/src/components/status.jsx index 69787536..df509368 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -1025,7 +1025,7 @@ function Status({ }, ); - const hotkeysEnabled = !readOnly && !previewMode; + const hotkeysEnabled = !readOnly && !previewMode && !quoted; const rRef = useHotkeys('r, shift+r', replyStatus, { enabled: hotkeysEnabled, });