diff --git a/ui2/src/components/Viewer/ThumbnailsToggle/ThumbnailsToggle.tsx b/ui2/src/components/Viewer/ThumbnailsToggle/ThumbnailsToggle.tsx index 609586a60..3bf16218a 100644 --- a/ui2/src/components/Viewer/ThumbnailsToggle/ThumbnailsToggle.tsx +++ b/ui2/src/components/Viewer/ThumbnailsToggle/ThumbnailsToggle.tsx @@ -43,7 +43,7 @@ export default function ThumbnailsToggle() { page: {id: p.page.id, number: p.page.number} } }) - dispatch(applyPageOpChanges({pages, panel: mode})) + dispatch(applyPageOpChanges({pages: _pages, panel: mode})) } } diff --git a/ui2/src/slices/dualPanel/types.ts b/ui2/src/slices/dualPanel/types.ts index 5f271599b..e20dec120 100644 --- a/ui2/src/slices/dualPanel/types.ts +++ b/ui2/src/slices/dualPanel/types.ts @@ -8,7 +8,6 @@ import type { PaginationType, BreadcrumbItemType, DocumentVersionWithPageRot, - PageType, PageAndRotOp } from "@/types"