Commit Graph

3 Commits

Author SHA1 Message Date
Rami Bitar
95ad3c9d02 Mount-gate SheetPortal for SSR safety
Defensive guard so the portal only mounts client-side. Radix's Portal is
already SSR-safe, so this is belt-and-suspenders.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019RCfQKfr64YJbFRs3Ai9v2
2026-06-30 17:26:45 -04:00
Rami Bitar
5b0dbb5e6e Fix dialog SSR crash by gating DialogPortal to client
DialogPortal aliased Radix's Portal directly, which calls
createPortal(children, document.body) during render. Static
prerendering (e.g. /about via InquiryDialog) has no document
global and threw "document is not defined". Wrap it so the
portal only mounts client-side.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012Exmd6Wn13TGp1sArgK7y4
2026-06-30 16:11:22 -04:00
Rami Bitar
3a59a208f9 Initial commit 2026-04-17 12:09:22 -04:00