Skip to content

Commit

Permalink
Working around some typing bugs in react-draggable (see react-grid-la…
Browse files Browse the repository at this point in the history
  • Loading branch information
coddingtonbear committed Mar 30, 2024
1 parent 1ff0804 commit f3ad3fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit f3ad3fc

Please sign in to comment.