|
|
|
@ -25,6 +25,7 @@ import ProtectedRoute from "./partials/ProtectedRoute";
|
|
|
|
|
|
|
|
|
|
|
|
import "./index.css";
|
|
|
|
import "./index.css";
|
|
|
|
import { lightTheme } from "./utils/theme";
|
|
|
|
import { lightTheme } from "./utils/theme";
|
|
|
|
|
|
|
|
import { SuperFormProvider } from "./components/SuperFormProvider";
|
|
|
|
|
|
|
|
|
|
|
|
const queryClient = new QueryClient();
|
|
|
|
const queryClient = new QueryClient();
|
|
|
|
|
|
|
|
|
|
|
|
@ -86,6 +87,7 @@ export default function App() {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<CssVarsProvider theme={lightTheme}>
|
|
|
|
<CssVarsProvider theme={lightTheme}>
|
|
|
|
<QueryClientProvider client={queryClient}>
|
|
|
|
<QueryClientProvider client={queryClient}>
|
|
|
|
|
|
|
|
<SuperFormProvider>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<Toaster />
|
|
|
|
<Toaster />
|
|
|
|
<SideBar isAuthenticated={isAuthenticated} state={state} />
|
|
|
|
<SideBar isAuthenticated={isAuthenticated} state={state} />
|
|
|
|
@ -132,10 +134,13 @@ export default function App() {
|
|
|
|
|
|
|
|
|
|
|
|
<Route path="/signup" element={<Signup dispatch={dispatch} />} />
|
|
|
|
<Route path="/signup" element={<Signup dispatch={dispatch} />} />
|
|
|
|
<Route path="/login" element={<Login dispatch={dispatch} />} />
|
|
|
|
<Route path="/login" element={<Login dispatch={dispatch} />} />
|
|
|
|
<Route path="/github/cb" element={<GitHub dispatch={dispatch} />} />
|
|
|
|
<Route
|
|
|
|
|
|
|
|
path="/github/cb"
|
|
|
|
|
|
|
|
element={<GitHub dispatch={dispatch} />}
|
|
|
|
|
|
|
|
/>
|
|
|
|
</Routes>
|
|
|
|
</Routes>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</SuperFormProvider>
|
|
|
|
<ReactQueryDevtools initialIsOpen={true} />
|
|
|
|
<ReactQueryDevtools initialIsOpen={true} />
|
|
|
|
</QueryClientProvider>
|
|
|
|
</QueryClientProvider>
|
|
|
|
</CssVarsProvider>
|
|
|
|
</CssVarsProvider>
|
|
|
|
|