fix: default route for logo

This commit is contained in:
jialin
2025-02-23 13:32:03 +08:00
parent 69feb6a4f1
commit 2c2e9396c4
6 changed files with 16 additions and 10 deletions
+2 -4
View File
@@ -39,9 +39,7 @@ const LoginForm = () => {
}}
>
<div className="flex-center">
<span>
{intl?.formatMessage({ id: 'users.login.title' }, { name: '' })}
</span>
<span>{intl?.formatMessage({ id: 'users.login.title' })}</span>
<img
src={LogoIcon}
alt="logo"
@@ -50,7 +48,7 @@ const LoginForm = () => {
</div>
</div>
);
}, []);
}, [intl]);
const gotoDefaultPage = (userInfo: any) => {
const pathname =