diff --git a/web/app/provider.tsx b/web/app/provider.tsx index 0cecd1ab7..5bca25748 100644 --- a/web/app/provider.tsx +++ b/web/app/provider.tsx @@ -1,4 +1,5 @@ "use client"; + import { FC, ReactNode } from "react"; import dynamic from "next/dynamic"; import { AppProgressBar } from "next-nprogress-bar"; @@ -23,16 +24,20 @@ export interface IAppProvider { children: ReactNode; } +const ToastWithTheme = () => { + const { resolvedTheme } = useTheme(); + return ; +}; + export const AppProvider: FC = (props) => { const { children } = props; // themes - const { resolvedTheme } = useTheme(); return ( <> - +