update 3 modules
This commit is contained in:
@@ -15,6 +15,7 @@ import '../src/style/icons/fontawesome/css/all.min.css'
|
||||
import { Provider } from "react-redux";
|
||||
import store from "./core/redux/store.jsx";
|
||||
import AllRoutes from "./Router/router.jsx";
|
||||
import authApi from "./services/authApi";
|
||||
|
||||
const rootElement = document.getElementById('root');
|
||||
|
||||
@@ -49,6 +50,9 @@ const initializeTheme = () => {
|
||||
// Initialize theme before rendering
|
||||
initializeTheme();
|
||||
|
||||
// Check authentication status on app startup
|
||||
authApi.checkAuthStatus();
|
||||
|
||||
|
||||
|
||||
if (rootElement) {
|
||||
|
||||
Reference in New Issue
Block a user