From 73cb692218d97e7dd76e6fc680e4fb74890dda25 Mon Sep 17 00:00:00 2001 From: nikec <43032218+niikeec@users.noreply.github.com> Date: Mon, 15 Apr 2024 12:01:29 +0200 Subject: [PATCH] [ENG-1737] Fix updateFirstActiveItem options type (#2328) update type --- .../app/$libraryId/Explorer/View/Grid/useKeySelection.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/interface/app/$libraryId/Explorer/View/Grid/useKeySelection.tsx b/interface/app/$libraryId/Explorer/View/Grid/useKeySelection.tsx index 0f27876f0..cac96fb2d 100644 --- a/interface/app/$libraryId/Explorer/View/Grid/useKeySelection.tsx +++ b/interface/app/$libraryId/Explorer/View/Grid/useKeySelection.tsx @@ -75,7 +75,10 @@ export const useKeySelection = (grid: Grid, options: Options = { scrollToEnd: fa }, [explorer.items]); const updateFirstActiveItem = useCallback( - (item: ExplorerItem | null, options: UpdateActiveItemOptions = {}) => { + ( + item: ExplorerItem | null, + options: Omit = {} + ) => { if (explorerOperatingSystem !== 'windows') return; firstActiveItem.current = item;