diff --git a/src/popup.tsx b/src/popup.tsx index 677e12c..61c35bd 100644 --- a/src/popup.tsx +++ b/src/popup.tsx @@ -15,7 +15,7 @@ import ExpandMoreIcon from "@mui/icons-material/ExpandMore"; import MaterialAlert from "@mui/material/Alert"; import createCache from "@emotion/cache"; import { CacheProvider } from "@emotion/react"; -import Draggable from "react-draggable"; +import { default as DraggableRaw, DraggableProps } from "react-draggable"; import SendIcon from "@mui/icons-material/SaveAlt"; @@ -55,6 +55,8 @@ import MentionNotice from "./components/MentionNotice"; import { LinearProgress, NativeSelect, Paper } from "@mui/material"; import MouseOverChip from "./components/MouseOverChip"; +const Draggable: any = DraggableRaw; + declare const BUILD_ID: string; declare global { interface Window {