mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
16 lines
471 B
TypeScript
16 lines
471 B
TypeScript
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;
|