Files
KLC-Website-Frontend/src/main.tsx

17 lines
470 B
TypeScript
Raw Normal View History

2025-08-28 13:14:51 +05:30
import { createRoot } from "react-dom/client";
2025-09-02 20:34:00 +05:30
import App from "./App";
2025-08-28 13:14:51 +05:30
import "../src/styles/globals.css";
import { BrowserRouter } from "react-router-dom";
2025-09-05 15:06:26 +05:30
import ScrollToTop from "./components/ScrollToTop";
2025-08-28 13:14:51 +05:30
2026-03-20 19:43:27 +05:30
import { Provider } from "react-redux";
import { store } from "./redux/store/Store";
2025-08-28 13:14:51 +05:30
createRoot(document.getElementById("root")!).render(
2026-03-20 19:43:27 +05:30
<Provider store={store}>
<BrowserRouter>
<ScrollToTop />
<App />
</BrowserRouter>
</Provider>
2025-08-28 13:14:51 +05:30
);