Skip to content

Commit

Permalink
Merge pull request #171 from digirati-co-uk/feature/fixed-disable-paging
Browse files Browse the repository at this point in the history
Fixed disabled paging
  • Loading branch information
stephenwf authored Mar 5, 2024
2 parents 800f523 + 49a2772 commit 441e978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/viewers/SimpleViewerContext.hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function useCanvasSequence({ startCanvas, disablePaging }: { startCanvas?

const [items, initialSequence] = useMemo(
() => getManifestSequence(vault, rangeOrManifest, { disablePaging }),
[vault, rangeOrManifest]
[vault, rangeOrManifest, disablePaging]
);

const setCanvasIndex = useCallback(
Expand Down

0 comments on commit 441e978

Please sign in to comment.