diff --git a/src/components/Scroll/Panel/Language/Language.tsx b/src/components/Scroll/Panel/Language/Language.tsx index eba12669..3ccba684 100644 --- a/src/components/Scroll/Panel/Language/Language.tsx +++ b/src/components/Scroll/Panel/Language/Language.tsx @@ -1,16 +1,17 @@ +import React, { CSSProperties, useContext } from "react"; + import LanguageOption from "./Option"; import { Popover } from "src/components/UI"; import { ScrollContext } from "src/context/scroll-context"; import { StyledScrollLanguage } from "./Language.styled"; import { extractLanguages } from "src/lib/annotation-helpers"; -import { useContext } from "react"; const LanguageIcon = ({ title, style = {}, }: { title: string; - style?: React.CSSProperties; + style?: CSSProperties; }) => { return (