clientid works
This commit is contained in:
@ -1,7 +1,12 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import { BrowserRouter, Route, Routes } from "react-router-dom";
|
||||
import MainPage from "./MainPage";
|
||||
import { getLocalToken, loadLanguage, store } from "../config/store";
|
||||
import {
|
||||
getLocalClient,
|
||||
getLocalToken,
|
||||
loadLanguage,
|
||||
store,
|
||||
} from "../config/store";
|
||||
import DashboardPage from "./DashboardPage";
|
||||
import PropTypes from "prop-types";
|
||||
import NotFoundPage from "./NotFoundPage";
|
||||
@ -12,6 +17,7 @@ import QueueCard from "../components/queue/QueueCard";
|
||||
|
||||
const AppRoutes = ({ children }: { children: ReactNode }) => {
|
||||
store.dispatch(getLocalToken());
|
||||
store.dispatch(getLocalClient());
|
||||
store.dispatch(loadLanguage());
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user