Skip to content

Commit f9d39db

Browse files
committed
Remove personal button when loading
1 parent 203bbc6 commit f9d39db

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/components/Dashboard/DashboardPage.tsx

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,16 @@ export function DashboardPage(props: DashboardPageProps) {
8282
'striped-loader-slate': isLoading,
8383
})}
8484
>
85-
<div className="bg-slate-800/30 py-5">
85+
<div className="bg-slate-800/30 py-5 min-h-[70px]">
8686
<div className="container flex flex-wrap items-center gap-1.5">
87-
<DashboardTabButton
88-
label="Personal"
89-
isActive={!selectedTeamId && !isTeamPage}
90-
href="/dashboard"
91-
avatar={userAvatar}
92-
/>
93-
9487
{!isLoading && (
9588
<>
89+
<DashboardTabButton
90+
label="Personal"
91+
isActive={!selectedTeamId && !isTeamPage}
92+
href="/dashboard"
93+
avatar={userAvatar}
94+
/>
9695
{teamList.map((team) => {
9796
const { avatar } = team;
9897
const avatarUrl = avatar

0 commit comments

Comments
 (0)