Remove redundant check

Co-authored-by: Timo <16718859+toger5@users.noreply.github.com>
This commit is contained in:
David BakerandTimo authored and GitHub committed 2023-10-11 16:10:03 +01:00
1 parent 59cd0c87cd
commit 9d4ade97b0
1 file changed
+1 -2
+1 -2
View File
@@ -43,8 +43,7 @@ const useKeyFromUrl = (): [string, string] | [undefined, undefined] => {
const urlParams = useUrlParams();
useEffect(() => {
if (!urlParams.password) return;
if (urlParams.password === "") return;
if (!urlParams.password || !urlParams.roomId) return;
if (!urlParams.roomId) return;
setLocalStorageItem(