diff --git a/src/renderer/src/pages/home/Inputbar/Inputbar.tsx b/src/renderer/src/pages/home/Inputbar/Inputbar.tsx index da67816e..82d37ebc 100644 --- a/src/renderer/src/pages/home/Inputbar/Inputbar.tsx +++ b/src/renderer/src/pages/home/Inputbar/Inputbar.tsx @@ -518,11 +518,9 @@ const Inputbar: FC = ({ assistant: _assistant, setActiveTopic, topic }) = }, [isDragging, handleDrag, handleDragEnd]) useShortcut('new_topic', () => { - if (!loading) { - addNewTopic() - EventEmitter.emit(EVENT_NAMES.SHOW_TOPIC_SIDEBAR) - textareaRef.current?.focus() - } + addNewTopic() + EventEmitter.emit(EVENT_NAMES.SHOW_TOPIC_SIDEBAR) + textareaRef.current?.focus() }) useShortcut('clear_topic', () => {