This commit is contained in:
projectmoon 2024-07-30 19:51:14 +02:00
parent 92cba01e52
commit f2fbc5db25
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ const useSocket = (
url: string,
setIsWSReady: (ready: boolean) => void,
setError: (error: boolean) => void,
hasError: boolean
) => {
const [ws, setWs] = useState<WebSocket | null>(null);