mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-14 03:30:19 +00:00
🐛 fix: hotkey disabled in form tags
This commit is contained in:
@@ -25,6 +25,7 @@ const SaveTopic = memo(() => {
|
||||
|
||||
const hotkeys = [PREFIX_KEY, SAVE_TOPIC_KEY].join('+');
|
||||
useHotkeys(hotkeys, openNewTopicOrSaveTopic, {
|
||||
enableOnFormTags: true,
|
||||
preventDefault: true,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user