Added configured axios instance with 401 interceptor, refactored all requests to use axios instance

This commit is contained in:
Alex Holliday committed 2024-07-09 11:45:14 -07:00
1 parent fb292d23a6
commit 10c8751c6b
8 files changed
+56 -40

No files matched your search

+3
View File
@@ -8,6 +8,9 @@ import { ThemeProvider } from "@mui/material";
import { Provider } from "react-redux";
import { persistor, store } from "./store";
import { PersistGate } from "redux-persist/integration/react";
import { injectStore } from "./Utils/axiosConfig.js";
injectStore(store);
ReactDOM.createRoot(document.getElementById("root")).render(
<React.StrictMode>