1.adjust code style.
This commit is contained in:
1 parent
3b1263447f
commit
ec99dca594
3 files changed
+4
-10
No files matched your search
@@ -71,11 +71,7 @@ const _useUserAndSpacesForFreeLogin = () => {
|
||||
|
||||
useEffect(() => {
|
||||
if (loading) {
|
||||
if (location.pathname.startsWith('/local')) {
|
||||
navigate('/local');
|
||||
} else {
|
||||
navigate(`/${BRAND_ID}`);
|
||||
}
|
||||
navigate(`/${BRAND_ID}`);
|
||||
setLoading(false);
|
||||
}
|
||||
}, []);
|
||||
|
||||
Reference in new issue
Block a user