diff --git a/web/src/App.tsx b/web/src/App.tsx index e7aa802..678fa58 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -50,7 +50,7 @@ export default function App() { } /> diff --git a/web/src/components/Sidebar.tsx b/web/src/components/Sidebar.tsx index f3c25ae..79805b0 100644 --- a/web/src/components/Sidebar.tsx +++ b/web/src/components/Sidebar.tsx @@ -38,8 +38,8 @@ export function Sidebar() { 生成
navigate('/assets')} + className={`${styles.navItem} ${isActive('/user-assets') ? styles.active : ''}`} + onClick={() => navigate('/user-assets')} >