mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 09:36:17 +08:00
1.adjust code style.
This commit is contained in:
@@ -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