mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-09-30 06:53:12 +00:00
- Fixed Redux slice errors - All query keys now use constants from src/constants/ - Converted LoginPage to CSS Modules - Consolidated documentation
21 lines
746 B
JavaScript
21 lines
746 B
JavaScript
import React from "react";
|
|
import ReactDOM from "react-dom/client";
|
|
import { BrowserRouter } from "react-router";
|
|
import { Provider } from 'react-redux';
|
|
import { QueryClientProvider } from '@tanstack/react-query';
|
|
import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
|
|
import { store } from './app/store';
|
|
import { queryClient } from './lib/queryClient';
|
|
import App from "./App";
|
|
import "./index.css";
|
|
import "./site.css";
|
|
|
|
const root = ReactDOM.createRoot(document.getElementById("root"));
|
|
root.render(
|
|
<Provider store={store}>
|
|
<QueryClientProvider client={queryClient}>
|
|
<App />
|
|
{process.env.NODE_ENV === 'development' && <ReactQueryDevtools initialIsOpen={false} />}
|
|
</QueryClientProvider>
|
|
</Provider>
|
|
);
|