Skip to content

Commit

Permalink
Handle null shortcut event
Browse files Browse the repository at this point in the history
  • Loading branch information
lucienimmink committed Oct 17, 2023
1 parent 7832d88 commit 160a1ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/launch-queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export const launchQueue = () => {
case 'playpause':
EventBus.emit(TOGGLE_PLAY_PAUSE_PLAYER, {});
break;
case null:
break;
default:
console.log(`unknown shortcut event: ${nav}`);
}
Expand Down

0 comments on commit 160a1ec

Please sign in to comment.