Skip to content

Commit cf7cd50

Browse files
committed
refactor: keyboard setting
1 parent ae50174 commit cf7cd50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/Settings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ export const SettingsRoute: FC = () => {
238238
<Checkbox
239239
name="kbdShortcutEnabled"
240240
label="Enable keyboard shortcut"
241-
checked={!!settings.keyboardShortcut}
241+
checked={settings.keyboardShortcut}
242242
onChange={(evt) =>
243243
updateSetting('keyboardShortcut', evt.target.checked)
244244
}

0 commit comments

Comments
 (0)