formating

This commit is contained in:
nix 2025-01-31 20:09:58 +01:00
parent 68048dfd56
commit 728919f7bf

View file

@ -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);