Skip to content

Commit

Permalink
🐛 fix: hotkey disabled in form tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Asuka109 committed Nov 10, 2023
1 parent bd1253c commit 165888f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/chat/features/ChatInputContent/Topic/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const SaveTopic = memo(() => {

const hotkeys = [PREFIX_KEY, SAVE_TOPIC_KEY].join('+');
useHotkeys(hotkeys, openNewTopicOrSaveTopic, {
enableOnFormTags: true,
preventDefault: true,
});

Expand Down

0 comments on commit 165888f

Please sign in to comment.