Skip to content

Commit

Permalink
fix type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sai6855 committed Dec 12, 2024
1 parent 54725bb commit d35d3cf
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 @@ -12,7 +12,7 @@ function PaperComponent(props: PaperProps) {
const nodeRef = React.useRef<HTMLDivElement | null>(null);
return (
<Draggable
nodeRef={nodeRef}
nodeRef={nodeRef!}
handle="#draggable-dialog-title"
cancel={'[class*="MuiDialogContent-root"]'}
>
Expand Down

0 comments on commit d35d3cf

Please sign in to comment.