1
0
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:
Puyodead1 2023-04-22 23:53:21 -04:00
parent 79464b4b90
commit 5557d2c74c
No known key found for this signature in database
GPG Key ID: A4FA4FEC0DD353FC

View File

@ -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();