fix: isn't connected by default

This commit is contained in:
cha0s 2019-04-16 23:45:37 -05:00
parent 64c4d0605c
commit e10bb82682

View File

@ -39,7 +39,7 @@ const ConnectionComponent = ({
Parser,
socket,
}) => {
const [isConnected, setIsConnected] = useState(true);
const [isConnected, setIsConnected] = useState(false);
// Juggle connected state.
useEffect(() => {
const onConnect = () => {