mirror of
https://github.com/spacebarchat/client.git
synced 2024-11-25 19:52:31 +01:00
Update App.tsx
This commit is contained in:
parent
79464b4b90
commit
5557d2c74c
@ -1,6 +1,6 @@
|
|||||||
import { observer } from "mobx-react-lite";
|
import { observer } from "mobx-react-lite";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { Route, Routes, useNavigate } from "react-router-dom";
|
import { Route, Routes } from "react-router-dom";
|
||||||
import { AuthenticationGuard } from "./components/AuthenticationGuard";
|
import { AuthenticationGuard } from "./components/AuthenticationGuard";
|
||||||
import LoadingPage from "./pages/LoadingPage";
|
import LoadingPage from "./pages/LoadingPage";
|
||||||
import LoginPage from "./pages/LoginPage";
|
import LoginPage from "./pages/LoginPage";
|
||||||
@ -14,7 +14,6 @@ import { Globals } from "./utils/Globals";
|
|||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
const app = useAppStore();
|
const app = useAppStore();
|
||||||
const navigate = useNavigate();
|
|
||||||
|
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
Globals.load();
|
Globals.load();
|
||||||
|
Loading…
Reference in New Issue
Block a user