diff --git a/interface/app/$libraryId/Explorer/View/ListView.tsx b/interface/app/$libraryId/Explorer/View/ListView.tsx index ba6f1dd61..ab6bff8e1 100644 --- a/interface/app/$libraryId/Explorer/View/ListView.tsx +++ b/interface/app/$libraryId/Explorer/View/ListView.tsx @@ -240,7 +240,7 @@ export default () => { }); const tableLength = table.getTotalSize(); - const { rows } = table.getRowModel(); + const rows = useMemo(() => table.getRowModel().rows, [explorerView.items]); const rowVirtualizer = useVirtualizer({ count: explorerView.items ? rows.length : 100, diff --git a/interface/app/$libraryId/overview/index.tsx b/interface/app/$libraryId/overview/index.tsx index 3dd236b19..83bd121bd 100644 --- a/interface/app/$libraryId/overview/index.tsx +++ b/interface/app/$libraryId/overview/index.tsx @@ -40,11 +40,7 @@ export const Component = () => { f.toolTipLabel !== 'List view'), - explorerToolOptions, - explorerControlOptions - ]} + options={[explorerViewOptions, explorerToolOptions, explorerControlOptions]} /> } />