mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-06-19 16:28:42 +00:00
formating
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user