Skip to content

Commit a832fe6

Browse files
committed
fix: fixed the hook path in live-indicator.tsx
1 parent 9a0049e commit a832fe6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

web/src/components/system/live-indicator.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
WifiOff,
66
} from "lucide-react"
77

8-
import { useRealtimeStore } from "@/stores/realtime-store"
8+
import { useRealtimeStore } from "@/app/stores/realtime-store"
99

1010
export function LiveIndicator() {
1111
const connected =

web/src/hooks/use-realtime-system.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function useRealtimeSystem() {
4444
ws = new WebSocket(
4545
"ws://localhost:3001/ws/events"
4646
)
47-
ws.onerror = () => console.error("WebSocket error")
47+
ws.onerror = () => console.error("WebSocket error")
4848

4949
const started =
5050
performance.now()

0 commit comments

Comments
 (0)