mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 05:31:14 -05:00
Refactor: Simplify Realtime channel creation
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { RefreshCw, Wifi, WifiOff, AlertCircle } from 'lucide-react';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@/components/ui/tooltip';
|
||||
import { ConnectionState } from '@/hooks/useEnhancedRealtime';
|
||||
|
||||
type ConnectionState = 'connecting' | 'connected' | 'disconnected' | 'error';
|
||||
|
||||
interface RealtimeConnectionStatusProps {
|
||||
connectionState: ConnectionState;
|
||||
|
||||
Reference in New Issue
Block a user