Skip to content

Commit b412d7f

Browse files
committed
2.11.5
1 parent daacb88 commit b412d7f

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

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

src/components/Scroll/Panel/Language/Language.tsx

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1+
import React, { CSSProperties, useContext } from "react";
2+
13
import LanguageOption from "./Option";
24
import { Popover } from "src/components/UI";
35
import { ScrollContext } from "src/context/scroll-context";
46
import { StyledScrollLanguage } from "./Language.styled";
57
import { extractLanguages } from "src/lib/annotation-helpers";
6-
import { useContext } from "react";
78

89
const LanguageIcon = ({
910
title,
1011
style = {},
1112
}: {
1213
title: string;
13-
style?: React.CSSProperties;
14+
style?: CSSProperties;
1415
}) => {
1516
return (
1617
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style={style}>

src/components/Scroll/Panel/Language/Option.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
import React, { useContext } from "react";
12
import {
23
StyledScrollLanguageOption,
34
StyledScrollLanguageOptionCheckbox,
45
StyledScrollLanguageOptionIndicator,
56
} from "./Language.styled";
67

78
import { ScrollContext } from "src/context/scroll-context";
8-
import { useContext } from "react";
99

1010
const LanguageOption = ({
1111
lang,
@@ -38,8 +38,6 @@ const LanguageOption = ({
3838
});
3939
};
4040

41-
// console.log({ isChecked, lang });
42-
4341
return (
4442
<StyledScrollLanguageOption
4543
checked={isChecked}

0 commit comments

Comments
 (0)