diff --git a/components/toolbar/src/tabs.tsx b/components/toolbar/src/tabs.tsx index 68b56ca515..82685b71bd 100644 --- a/components/toolbar/src/tabs.tsx +++ b/components/toolbar/src/tabs.tsx @@ -10,7 +10,7 @@ type TabName = 'status' | 'db' | 'sql' function TabItem( label: string, name: TabName, - handleClick: (name: 'status' | 'db' | 'sql') => void, + handleClick: (name: TabName) => void, active: string, ): JSX.Element { const className =