From ac8e0b1abe93694c1672ea3524ac57318bae0641 Mon Sep 17 00:00:00 2001 From: ajnart <49837342+ajnart@users.noreply.github.com> Date: Mon, 3 Aug 2026 15:04:34 +0000 Subject: [PATCH] style: auto-fix lint and format --- .../nextjs/src/components/board/use-board-hotkeys.ts | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/apps/nextjs/src/components/board/use-board-hotkeys.ts b/apps/nextjs/src/components/board/use-board-hotkeys.ts index 225fd87b6..b977c0d43 100644 --- a/apps/nextjs/src/components/board/use-board-hotkeys.ts +++ b/apps/nextjs/src/components/board/use-board-hotkeys.ts @@ -39,11 +39,7 @@ export const useBoardHotkeys = () => { ]); }; -const navigateToNextBoard = ( - boards: { name: string }[], - currentIndex: number, - navigate: (name: string) => void, -) => { +const navigateToNextBoard = (boards: { name: string }[], currentIndex: number, navigate: (name: string) => void) => { if (boards.length === 0) return; const nextIndex = (currentIndex + 1) % boards.length; // eslint-disable-next-line @typescript-eslint/no-non-null-assertion @@ -61,11 +57,7 @@ const navigateToPreviousBoard = ( navigate(boards[previousIndex]!.name); }; -const navigateToBoardByIndex = ( - boards: { name: string }[], - index: number, - navigate: (name: string) => void, -) => { +const navigateToBoardByIndex = (boards: { name: string }[], index: number, navigate: (name: string) => void) => { if (index < boards.length) { // eslint-disable-next-line @typescript-eslint/no-non-null-assertion navigate(boards[index]!.name);