diff --git a/src/lib/components/Toast/useToast.tsx b/src/lib/components/Toast/useToast.tsx index ade17b5..1cb90e7 100644 --- a/src/lib/components/Toast/useToast.tsx +++ b/src/lib/components/Toast/useToast.tsx @@ -207,7 +207,7 @@ export function ToastProvider({ children }) { ))} , - document.body + typeof document !== 'undefined' ? document.body : null )} );