import './webWails'; import React from 'react'; import { createRoot } from 'react-dom/client'; import './style.scss'; import 'react-toastify/dist/ReactToastify.css'; import App from './App'; import { HashRouter } from 'react-router-dom'; import { startup } from './startup'; import './_locales/i18n-react'; import { WindowShow } from '../wailsjs/runtime'; startup().then(() => { const container = document.getElementById('root'); const root = createRoot(container!); root.render( ); // force display the window WindowShow(); });