diff --git a/web/components/layout/tabs.tsx b/web/components/layout/tabs.tsx index a87c6607..3d72b13c 100644 --- a/web/components/layout/tabs.tsx +++ b/web/components/layout/tabs.tsx @@ -28,7 +28,6 @@ export function ControlledTabs(props: TabProps & { activeIndex: number }) { className, currentPageForAnalytics, } = props - const activeTab = tabs[activeIndex] as Tab | undefined // can be undefined in weird case return ( <> - {activeTab?.content} + {tabs.map((tab, i) => ( +