Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 15 additions & 12 deletions client/src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,26 @@ import ReactDOM from "react-dom/client";
import { BrowserRouter } from "react-router-dom";
import { ToastContainer } from "react-toastify";
import App from "./App.jsx";
import { ThemeProvider } from "./Context/ThemeContext.jsx";
import "./index.css";
import "react-toastify/dist/ReactToastify.css";

ReactDOM.createRoot(document.getElementById("root")).render(
<React.StrictMode>
<BrowserRouter>
<App />
<ToastContainer
position="bottom-right"
autoClose={3500}
hideProgressBar={false}
newestOnTop
closeOnClick
pauseOnHover
theme="dark"
/>
</BrowserRouter>
<ThemeProvider>
<BrowserRouter>
<App />
<ToastContainer
position="bottom-right"
autoClose={3500}
hideProgressBar={false}
newestOnTop
closeOnClick
pauseOnHover
theme="dark"
/>
</BrowserRouter>
</ThemeProvider>
</React.StrictMode>,
);

Expand Down