Remove redundant check
Co-authored-by: Timo <16718859+toger5@users.noreply.github.com>
This commit is contained in:
@@ -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