diff --git a/web/src/components/BrandBanner.tsx b/web/src/components/BrandBanner.tsx index 1c4746f3..443015ab 100644 --- a/web/src/components/BrandBanner.tsx +++ b/web/src/components/BrandBanner.tsx @@ -1,6 +1,3 @@ -import useCurrentUser from "@/hooks/useCurrentUser"; -import useNavigateTo from "@/hooks/useNavigateTo"; -import { Routes } from "@/router"; import { workspaceStore } from "@/store/v2"; import { cn } from "@/utils"; import UserAvatar from "./UserAvatar"; @@ -12,18 +9,13 @@ interface Props { const BrandBanner = (props: Props) => { const { collapsed } = props; - const navigateTo = useNavigateTo(); - const currentUser = useCurrentUser(); const workspaceGeneralSetting = workspaceStore.state.generalSetting; const title = workspaceGeneralSetting.customProfile?.title || "Memos"; const avatarUrl = workspaceGeneralSetting.customProfile?.logoUrl || "/full-logo.webp"; return (