diff --git a/src/lib/components/Flowbite/index.tsx b/src/lib/components/Flowbite/index.tsx index 498f0e363..2d4530423 100644 --- a/src/lib/components/Flowbite/index.tsx +++ b/src/lib/components/Flowbite/index.tsx @@ -22,7 +22,7 @@ export const Flowbite: FC = ({ children, theme = {} }) => { const { theme: customTheme = {}, dark, usePreferences = true } = theme; const [mode, setMode, toggleMode] = useThemeMode(usePreferences); - const mergedTheme = mergeDeep(defaultTheme, customTheme) as unknown as FlowbiteTheme; + const mergedTheme = mergeDeep(defaultTheme, customTheme); useEffect(() => { if (dark) {