Skip to content

Commit

Permalink
fix: missing keyboard sand shortcuts screen (janhq#3156)
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur authored and louis-jan committed Jul 12, 2024
1 parent dddf350 commit c54642a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion web/screens/Settings/SettingDetail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const SettingDetail = () => {
case 'Appearance':
return <AppearanceOptions />

case 'Hotkey & Shortcut':
case 'Keyboard Shortcuts':
return <Hotkeys />

case 'Advanced Settings':
Expand Down
1 change: 1 addition & 0 deletions web/screens/Settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export type SettingScreen = SettingScreenTuple[number]

const SettingsScreen = () => {
const setSelectedSettingScreen = useSetAtom(selectedSettingAtom)

useEffect(() => {
if (localStorage.getItem(SUCCESS_SET_NEW_DESTINATION) === 'true') {
setSelectedSettingScreen('Advanced Settings')
Expand Down

0 comments on commit c54642a

Please sign in to comment.