Skip to content

Commit

Permalink
Fix settings window error when no hotkeys are available
Browse files Browse the repository at this point in the history
  • Loading branch information
xanderfrangos committed Jan 6, 2024
1 parent 3b5191d commit 4ea1e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SettingsWindow.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ export default class SettingsWindow extends PureComponent {
}
}

return this.state.hotkeys?.map((hotkey, idx) => {
return this.state.hotkeys?.map?.((hotkey, idx) => {
return (
<SettingsOption className="win10-has-background" key={hotkey.id} content={
<div className="row hotkey-combo-input">
Expand Down

0 comments on commit 4ea1e7f

Please sign in to comment.