From a84d79464a06c7bfe6a302d30c8466bbabe893aa Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Tue, 8 Mar 2022 13:07:03 -0800 Subject: [PATCH] Make the router param optional --- packages/web/components/templates/KeyboardShortcutListModal.tsx | 2 +- packages/web/lib/keyboardShortcuts/navigationShortcuts.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/web/components/templates/KeyboardShortcutListModal.tsx b/packages/web/components/templates/KeyboardShortcutListModal.tsx index 3c9076a30..9ae97e1fd 100644 --- a/packages/web/components/templates/KeyboardShortcutListModal.tsx +++ b/packages/web/components/templates/KeyboardShortcutListModal.tsx @@ -71,7 +71,7 @@ export function KeyboardShortcutListModal( /> {})} + commands={articleKeyboardCommands(router, () => {})} /> void ): KeyboardCommand[] { return [