Skip to content

Commit b76c8d5

Browse files
committed
fix: void handleSave() in SettingsModal handleKeyDown (sync calling async)
1 parent bc173bd commit b76c8d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/SettingsModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export function SettingsModal({ onClose, onSaved }: SettingsModalProps) {
6464
(e: React.KeyboardEvent) => {
6565
if (e.key === "Enter") {
6666
e.preventDefault();
67-
handleSave();
67+
void handleSave();
6868
}
6969
},
7070
[handleSave],

0 commit comments

Comments
 (0)