KamoCRM

Remove SSR guard causing hydration mismatch; drop SockJS for native WebSocket

Fixkamo-marketing
Shipped
25 ஏப்ரல், 2026 அன்று 11:06 PM UTC
Author
Kamo
Commit
e87765e

- Hero.tsx: remove typeof window check around ParticleField — ParticleField already has ssr:false so the guard produced a server/client tree mismatch (React #418) - LiveSupportPanel.tsx: replace sockjs-client with native WebSocket via @stomp/stompjs brokerURL pointing to the new /ws/public-chat-native endpoint, eliminating the Permissions-Policy unload violation that sockjs-client triggered at module load time

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing