2020-03-19 15:37:38 +00:00
|
|
|
import React, { Suspense } from 'react';
|
2020-03-04 10:41:40 +00:00
|
|
|
import ReactDOM from 'react-dom';
|
2021-08-25 15:21:30 +00:00
|
|
|
|
2020-03-04 10:41:40 +00:00
|
|
|
import App from './App';
|
2020-04-10 14:04:19 +00:00
|
|
|
import ErrorBoundary from './ErrorBoundary';
|
2020-03-19 15:37:38 +00:00
|
|
|
import './i18n';
|
2020-04-10 04:50:16 +00:00
|
|
|
|
|
|
|
import './fonts.css';
|
2020-03-19 15:37:38 +00:00
|
|
|
import './main.css';
|
2020-03-04 10:41:40 +00:00
|
|
|
|
|
|
|
|
2020-03-19 15:37:38 +00:00
|
|
|
const electron = window.require('electron');
|
2020-03-04 10:41:40 +00:00
|
|
|
|
|
|
|
console.log('Version', electron.remote.app.getVersion());
|
|
|
|
|
2021-08-25 15:21:30 +00:00
|
|
|
|
2022-02-21 06:16:15 +00:00
|
|
|
ReactDOM.render(
|
|
|
|
(
|
|
|
|
<ErrorBoundary>
|
|
|
|
<Suspense fallback={<div />}>
|
|
|
|
<App />
|
|
|
|
</Suspense>
|
|
|
|
</ErrorBoundary>
|
|
|
|
), document.getElementById('root'),
|
|
|
|
);
|