mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-06-19 08:18:48 +00:00
formating
This commit is contained in:
@ -402,11 +402,7 @@ const ChatWindow = ({ id }: { id?: string }) => {
|
||||
websocketUrl = `${protocol}${host}${path}`;
|
||||
}
|
||||
|
||||
const ws = useSocket(
|
||||
websocketUrl,
|
||||
setIsWSReady,
|
||||
setHasError,
|
||||
);
|
||||
const ws = useSocket(websocketUrl, setIsWSReady, setHasError);
|
||||
|
||||
const [loading, setLoading] = useState(false);
|
||||
const [messageAppeared, setMessageAppeared] = useState(false);
|
||||
|
Reference in New Issue
Block a user