fix: isn't connected by default
This commit is contained in:
parent
64c4d0605c
commit
e10bb82682
|
@ -39,7 +39,7 @@ const ConnectionComponent = ({
|
|||
Parser,
|
||||
socket,
|
||||
}) => {
|
||||
const [isConnected, setIsConnected] = useState(true);
|
||||
const [isConnected, setIsConnected] = useState(false);
|
||||
// Juggle connected state.
|
||||
useEffect(() => {
|
||||
const onConnect = () => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user