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:
parent
0f14eda999
commit
46a6009b6b
@ -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;
|
||||
}, []);
|
||||
|
Loading…
Reference in New Issue
Block a user