diff --git a/packages/canvas-panel/src/components/AtlasCanvas/AtlasCanvas.tsx b/packages/canvas-panel/src/components/AtlasCanvas/AtlasCanvas.tsx index 9b532ab..2197ca3 100644 --- a/packages/canvas-panel/src/components/AtlasCanvas/AtlasCanvas.tsx +++ b/packages/canvas-panel/src/components/AtlasCanvas/AtlasCanvas.tsx @@ -11,8 +11,7 @@ import { useAnnotationPageManager, useManifest, } from 'react-iiif-vault'; -import { createStylesHelper, SingleChoice } from '@iiif/vault-helpers'; -import { createPaintingAnnotationsHelper } from '@iiif/vault-helpers'; +import { createStylesHelper, SingleChoice, createPaintingAnnotationsHelper } from '@iiif/vault-helpers'; import { Fragment, h } from 'preact'; import { WorldObject, SingleImage } from '../../atlas-components'; import { RenderAnnotationPage } from '../RenderAnnotationPage/RenderAnnotationPage'; @@ -75,7 +74,6 @@ export function AtlasCanvas({ defaultChoices: defaultChoices?.map(({ id }) => id), }); - const choice = strategy.type === 'images' ? strategy.choice : undefined; const manager = useAnnotationPageManager(manifest?.id || canvas?.id); const fullPages = useVaultSelector( (state, vault) => {