From 9093b701227792db43ba56fde69aa9ef992add38 Mon Sep 17 00:00:00 2001 From: Marshall Polaris Date: Sun, 24 Jul 2022 14:11:05 -0700 Subject: [PATCH] Remove fishy unused href property from tabs --- web/components/layout/tabs.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/web/components/layout/tabs.tsx b/web/components/layout/tabs.tsx index 9e26d4f5..e88f5385 100644 --- a/web/components/layout/tabs.tsx +++ b/web/components/layout/tabs.tsx @@ -9,8 +9,6 @@ type Tab = { title: string tabIcon?: ReactNode content: ReactNode - // If set, change the url to this href when the tab is selected - href?: string // If set, show a badge with this content badge?: string } @@ -33,25 +31,21 @@ export function UncontrolledTabs(props: TabProps & { activeIndex: number }) { currentPageForAnalytics, } = props const activeTab = tabs[activeIndex] as Tab | undefined // can be undefined in weird case - return ( <>