mirror of
https://github.com/element-hq/element-call.git
synced 2026-10-23 00:02:49 +00:00
Remove redundant check
Co-authored-by: Timo <16718859+toger5@users.noreply.github.com>
This commit is contained in:
1 parent
59cd0c87cd
commit
9d4ade97b0
1 file changed
+1
-2
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user