Skip to content

Commit 1e6f0d0

Browse files
committed
2.16.2
1 parent 166b661 commit 1e6f0d0

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@samvera/clover-iiif",
3-
"version": "2.16.0",
3+
"version": "2.16.2",
44
"description": "Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.",
55
"files": [
66
"dist"

src/components/Viewer/Painting/Painting.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ const Painting: React.FC<PaintingProps> = ({
6161

6262
const hasContentStateAnnotation =
6363
Boolean(contentStateAnnotation) &&
64+
// @ts-ignore
6465
Boolean(activeCanvas === contentStateAnnotation?.target?.source?.id);
6566

6667
const dispatch: any = useViewerDispatch();

src/components/Viewer/Player/Player.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { AnnotationNormalized, CanvasNormalized } from "@iiif/presentation-3";
22
import Hls, { HlsConfig } from "hls.js";
3-
import React, { act, useEffect } from "react";
3+
import React, { useEffect } from "react";
44
import {
55
ViewerContextStore,
66
useViewerDispatch,

src/context/viewer-context.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ const ViewerProvider: React.FC<ViewerProviderProps> = ({
400400
const value = `xywh=${xywh.join(",")}`;
401401
dispatch({
402402
type: "updateActiveSelector",
403+
// @ts-ignore
403404
selector: {
404405
type: "FragmentSelector",
405406
value,

0 commit comments

Comments
 (0)