Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
scurker committed Nov 22, 2024
1 parent 9c50da6 commit e15d27a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/Dialog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ const Dialog = forwardRef<HTMLDivElement, DialogProps>(
</ClickOutsideListener>
);

// eslint-disable-next-line ssr-friendly/no-dom-globals-in-react-fc
return createPortal(
dialog,
// eslint-disable-next-line ssr-friendly/no-dom-globals-in-react-fc
portalElement || document.body
) as React.ReactPortal;
}
Expand Down

0 comments on commit e15d27a

Please sign in to comment.