diff --git a/src/components/index/ProfileGrid/ProfileDialog.tsx b/src/components/index/ProfileGrid/ProfileDialog.tsx index 10f2105..e8f36cb 100644 --- a/src/components/index/ProfileGrid/ProfileDialog.tsx +++ b/src/components/index/ProfileGrid/ProfileDialog.tsx @@ -15,6 +15,8 @@ type ProfileDialogProps = { const ProfileDialog = ({ children }: ProfileDialogProps) => { const [open, setOpen] = useState(false); + if (typeof window === 'undefined') return null; + return ( {children}