Skip to content

Commit bef6763

Browse files
committed
chore: fix home route
1 parent 8e4e745 commit bef6763

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web/src/components/UserBanner.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ const UserBanner = (props: Props) => {
3636
"w-auto flex flex-row justify-start items-center cursor-pointer text-gray-800 dark:text-gray-400",
3737
collapsed ? "px-1" : "px-3",
3838
)}
39+
onClick={() => navigateTo(currentUser ? Routes.ROOT : Routes.EXPLORE)}
3940
>
4041
<UserAvatar className="shrink-0" avatarUrl={avatarUrl} />
4142
{!collapsed && <span className="ml-2 text-lg font-medium text-slate-800 dark:text-gray-300 shrink truncate">{title}</span>}

0 commit comments

Comments
 (0)