// SoloRealtimeBridge — mount in de (app)-layout zodat de SSE-verbinding // blijft staan over Server Action-refreshes heen. // // Stream opent zodra er een actief product is (ongeacht het pad), zodat // de Live-status-dot en worker-presence-indicator in de NavBar overal // werken. Buiten /solo is de solo-store leeg en zijn task-events no-ops // (zie stores/solo-store.ts handleRealtimeEvent), dus de stream gedraagt // zich automatisch als lichte presence-stream tot SoloBoard mount. 'use client' import { useSoloRealtime } from '@/lib/realtime/use-solo-realtime' export function SoloRealtimeBridge({ productId }: { productId: string | null }) { useSoloRealtime(productId) return null }