1
0
Fork 0

Disable hotkeys in quote posts

This commit is contained in:
Lim Chee Aun 2023-12-29 18:16:08 +08:00
parent 2240380f68
commit 6500be2782

View file

@ -1025,7 +1025,7 @@ function Status({
},
);
const hotkeysEnabled = !readOnly && !previewMode;
const hotkeysEnabled = !readOnly && !previewMode && !quoted;
const rRef = useHotkeys('r, shift+r', replyStatus, {
enabled: hotkeysEnabled,
});