fix: remove default selection of tab

Signed-off-by: Sofia Sjöblad <ssjoblad@spotify.com>
This commit is contained in:
Sofia Sjöblad
2025-09-22 12:56:11 +02:00
parent fcc5e8473b
commit bcc071b2cd
2 changed files with 7 additions and 1 deletions
@@ -57,14 +57,17 @@ const tabs: HeaderTab[] = [
{
id: 'overview',
label: 'Overview',
href: '/overview',
},
{
id: 'checks',
label: 'Checks',
href: '/checks',
},
{
id: 'tracks',
label: 'Tracks',
href: '/tracks',
},
{
id: 'campaigns',
@@ -82,14 +85,17 @@ const tabs2: HeaderTab[] = [
{
id: 'Banana',
label: 'Banana',
href: '/banana',
},
{
id: 'Apple',
label: 'Apple',
href: '/apple',
},
{
id: 'Orange',
label: 'Orange',
href: '/orange',
},
];
+1 -1
View File
@@ -117,7 +117,7 @@ export const Tabs = (props: TabsProps) => {
}
}
}
return undefined;
return null;
})();
if (!children) return null;