added wrapped DirProver for context

This commit is contained in:
Pramod Mahajan 2025-05-29 19:56:18 +05:30
parent 2b65f92f54
commit 0069b48ca8

View File

@ -1,3 +1,4 @@
import { DireProvider } from "./Context/DireContext";
import AppRoutes from "./router/AppRoutes";
import { ToastContainer } from "react-toastify";
@ -5,8 +6,13 @@ import { ToastContainer } from "react-toastify";
const App = () => {
return (
<div className="app">
<AppRoutes />
<ToastContainer></ToastContainer>
<DireProvider>
<AppRoutes />
</DireProvider>
<ToastContainer>
</ToastContainer>
</div>
);