From 05b9e935ff2b9093c614386c49d598979823d9d4 Mon Sep 17 00:00:00 2001 From: Adam Brin Date: Wed, 3 Apr 2024 08:35:51 -0700 Subject: [PATCH] linting --- .../canvas-panel/src/components/AtlasCanvas/AtlasCanvas.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) => {