diff --git a/src/client/components/layout/UserConfig.tsx b/src/client/components/layout/UserConfig.tsx index bdd4c78..d8693f6 100644 --- a/src/client/components/layout/UserConfig.tsx +++ b/src/client/components/layout/UserConfig.tsx @@ -76,7 +76,7 @@ export const UserConfig: React.FC = React.memo((props) => { {userInfo?.avatar && } - + {nickname.substring(0, 2).toUpperCase()} diff --git a/src/client/routes/website/$websiteId/index.tsx b/src/client/routes/website/$websiteId/index.tsx index 2a45578..d0bcb12 100644 --- a/src/client/routes/website/$websiteId/index.tsx +++ b/src/client/routes/website/$websiteId/index.tsx @@ -6,7 +6,6 @@ import { Loading } from '@/components/Loading'; import { NotFoundTip } from '@/components/NotFoundTip'; import { Button } from '@/components/ui/button'; import { ScrollArea, ScrollBar } from '@/components/ui/scroll-area'; -import { Separator } from '@/components/ui/separator'; import { WebsiteCodeBtn } from '@/components/website/WebsiteCodeBtn'; import { WebsiteLighthouseBtn } from '@/components/website/WebsiteLighthouseBtn'; import { WebsiteMetricsTable } from '@/components/website/WebsiteMetricsTable';