formating
This commit is contained in:
parent
68048dfd56
commit
728919f7bf
1 changed files with 1 additions and 5 deletions
|
@ -402,11 +402,7 @@ const ChatWindow = ({ id }: { id?: string }) => {
|
||||||
websocketUrl = `${protocol}${host}${path}`;
|
websocketUrl = `${protocol}${host}${path}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
const ws = useSocket(
|
const ws = useSocket(websocketUrl, setIsWSReady, setHasError);
|
||||||
websocketUrl,
|
|
||||||
setIsWSReady,
|
|
||||||
setHasError,
|
|
||||||
);
|
|
||||||
|
|
||||||
const [loading, setLoading] = useState(false);
|
const [loading, setLoading] = useState(false);
|
||||||
const [messageAppeared, setMessageAppeared] = useState(false);
|
const [messageAppeared, setMessageAppeared] = useState(false);
|
||||||
|
|
Loading…
Add table
Reference in a new issue