🐛 fix: hotkey disabled in form tags

This commit is contained in:
Asuka109
2023-11-11 01:29:45 +08:00
parent bd1253cd2d
commit 165888f529
@@ -25,6 +25,7 @@ const SaveTopic = memo(() => {
const hotkeys = [PREFIX_KEY, SAVE_TOPIC_KEY].join('+');
useHotkeys(hotkeys, openNewTopicOrSaveTopic, {
enableOnFormTags: true,
preventDefault: true,
});