diff --git a/src/dashboardWebView/components/Header/Tab.tsx b/src/dashboardWebView/components/Header/Tab.tsx index 2a192484..8edf1a99 100644 --- a/src/dashboardWebView/components/Header/Tab.tsx +++ b/src/dashboardWebView/components/Header/Tab.tsx @@ -1,5 +1,6 @@ import * as React from 'react'; import { useLocation } from 'react-router-dom'; +import useThemeColors from '../../hooks/useThemeColors'; import { NavigationType } from '../../models'; export interface ITabProps { @@ -13,13 +14,24 @@ export const Tab: React.FunctionComponent = ({ children }: React.PropsWithChildren) => { const location = useLocation(); + const { getColors } = useThemeColors(); return (