mirror of
https://github.com/usememos/memos.git
synced 2025-11-09 08:52:29 +08:00
chore: fix home route
This commit is contained in:
parent
8e4e745ba9
commit
bef67638c1
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ const UserBanner = (props: Props) => {
|
|||
"w-auto flex flex-row justify-start items-center cursor-pointer text-gray-800 dark:text-gray-400",
|
||||
collapsed ? "px-1" : "px-3",
|
||||
)}
|
||||
onClick={() => navigateTo(currentUser ? Routes.ROOT : Routes.EXPLORE)}
|
||||
>
|
||||
<UserAvatar className="shrink-0" avatarUrl={avatarUrl} />
|
||||
{!collapsed && <span className="ml-2 text-lg font-medium text-slate-800 dark:text-gray-300 shrink truncate">{title}</span>}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue