import 'i18n/config'; import { useEffect } from "react"; import { getCurrent } from "@tauri-apps/api/window"; import { Routes, Route } from "react-router-dom"; import { Layout } from "components/Layout"; import { Home } from "pages/Home"; import { Settings } from "pages/Settings"; import { Guide } from 'pages/Guide'; function App() { useEffect(() => { try { getCurrent().show().catch(e => console.error(e)) } catch (e) { console.error(e) } }, []) return ( }> } /> } /> } /> ); } export default App;