plane/apps/app/contexts/globalContextProvider.tsx

16 lines
471 B
TypeScript
Raw Normal View History

2022-11-19 14:21:26 +00:00
import { UserProvider } from "./user.context";
import { ToastContextProvider } from "./toast.context";
import { ThemeContextProvider } from "./theme.context";
const GlobalContextProvider: React.FC<{ children: React.ReactNode }> = ({ children }) => {
return (
<UserProvider>
<ToastContextProvider>
<ThemeContextProvider>{children}</ThemeContextProvider>
</ToastContextProvider>
</UserProvider>
);
};
export default GlobalContextProvider;