Commit 0910b407 authored by Chunchi Che's avatar Chunchi Che

currently remove Profile.tsx

parent 8e2a28b3
Pipeline #23057 passed with stages
in 15 minutes and 20 seconds
...@@ -83,7 +83,8 @@ export const Component = () => { ...@@ -83,7 +83,8 @@ export const Component = () => {
<span style={{ flexGrow: 1 }} /> <span style={{ flexGrow: 1 }} />
<span className={styles.profile}> <span className={styles.profile}>
<NeosAvatar /> <NeosAvatar />
<HeaderBtn to="/profile" disabled={!logined}> {/*暂时跳转到萌卡的profile页面*/}
<HeaderBtn to={NeosConfig.profileUrl} disabled={!logined}>
个人中心 个人中心
</HeaderBtn> </HeaderBtn>
</span> </span>
......
...@@ -20,10 +20,6 @@ const router = createBrowserRouter([ ...@@ -20,10 +20,6 @@ const router = createBrowserRouter([
path: "/build", path: "/build",
lazy: () => import("./BuildDeck"), lazy: () => import("./BuildDeck"),
}, },
{
path: "/profile",
lazy: () => import("./Profile"),
},
{ {
path: "/waitroom", path: "/waitroom",
lazy: () => import("./WaitRoom"), lazy: () => import("./WaitRoom"),
......
export const Component = () => <>profile</>;
Component.displayName = "Build";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment