diff --git a/components/TabList/tab-list.tsx b/components/TabList/tab-list.tsx index 46b0017a3..afb6f86ea 100644 --- a/components/TabList/tab-list.tsx +++ b/components/TabList/tab-list.tsx @@ -1,5 +1,4 @@ import React from "react"; - import { useRouter } from "next/router"; import Link from "next/link"; import clsx from "clsx"; @@ -25,6 +24,7 @@ interface SubTabsListProps extends TabListProps { const TabList = ({ tabList, pageId, selectedTab }: TabListProps) => { const router = useRouter(); const range = router.query.range ? Number(router.query.range) : 30; + return (