1
0
mirror of https://github.com/spacebarchat/client.git synced 2024-11-22 10:22:30 +01:00

remove close_splashscreen command

This commit is contained in:
Puyodead1 2023-09-07 11:27:45 -04:00 committed by Puyodead1
parent 0f14eda999
commit 46a6009b6b
No known key found for this signature in database
GPG Key ID: BA5F91AAEF68E5CE

View File

@ -6,7 +6,6 @@ import LoginPage from "./pages/LoginPage";
import NotFoundPage from "./pages/NotFound";
import RegistrationPage from "./pages/RegistrationPage";
import { invoke } from "@tauri-apps/api";
import { reaction } from "mobx";
import Loader from "./components/Loader";
import OfflineBanner from "./components/banners/OfflineBanner";
@ -55,8 +54,6 @@ function App() {
logger.debug("Loading complete");
app.setAppLoading(false);
// @ts-expect-error check if tauri api is defined
if (window.__TAURI_IPC__) invoke("close_splashscreen");
return dispose;
}, []);