From 58adf031938339e4cbedea3b5b2cef73b3546b2f Mon Sep 17 00:00:00 2001 From: Tobias Berger <14962962+Toby222@users.noreply.github.com> Date: Thu, 27 Jan 2022 15:21:35 +0000 Subject: [PATCH] Fix swapped states --- src/pages/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index f7447f5..4aa7b8a 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -27,10 +27,10 @@ let shouldResendTyping = true; export default function Index(): JSX.Element { const [messageHistory, setMessageHistory] = useState([]); const [currentlyTyping, setCurrentlyTyping] = useState([]); - const [authorId, setAuthorId] = useState("wss.tobot.tk:8085/"); + const [authorId, setAuthorId] = useState("<...>"); const [connectedUsers, setConnectedUsers] = useState([]); const [desiredName, setDesiredName] = useState(undefined); - const [socketUrl, setSocketUrl] = useState(""); + const [socketUrl, setSocketUrl] = useState("wss.tobot.tk:8085"); const messageInput = useRef(null); const messageContainer = useRef(null);