fix: default enter page for user

This commit is contained in:
jialin
2025-11-10 20:40:15 +08:00
parent 9eb1dba4a1
commit b4b25d4300
12 changed files with 48 additions and 39 deletions
+2 -1
View File
@@ -20,6 +20,7 @@ import { Avatar, Divider, Modal } from 'antd';
import { useAtom } from 'jotai';
import { useMemo } from 'react';
import styled from 'styled-components';
import { DEFAULT_ENTER_PAGE } from '../config/settings';
const IconWrapper = styled.span`
cursor: pointer;
@@ -93,7 +94,7 @@ export const ExtraContent = () => {
const navigate = useNavigate();
const loginPath = '/login';
const loginPath = DEFAULT_ENTER_PAGE.login;
const showUpgrade = useMemo(() => {
return (