Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
sai6855 committed Dec 12, 2024
1 parent ccc82b8 commit 54725bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/data/material/components/dialogs/DraggableDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Paper, { PaperProps } from '@mui/material/Paper';
import Draggable from 'react-draggable';

function PaperComponent(props: PaperProps) {
const nodeRef = React.useRef<HTMLDivElement>(null);
const nodeRef = React.useRef<HTMLDivElement | null>(null);
return (
<Draggable
nodeRef={nodeRef}
Expand Down

0 comments on commit 54725bb

Please sign in to comment.