haserror
This commit is contained in:
parent
92cba01e52
commit
f2fbc5db25
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue