1.adjust code style.

This commit is contained in:
mitsuha
2022-09-02 18:39:26 +08:00
parent 3b1263447f
commit ec99dca594
3 changed files with 4 additions and 10 deletions
+1 -5
View File
@@ -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);
}
}, []);