lossless-cut/src/index.jsx

26 wiersze
488 B
React
Czysty Zwykły widok Historia

import React, { Suspense } from 'react';
2020-03-04 10:41:40 +00:00
import ReactDOM from 'react-dom';
2020-03-04 10:41:40 +00:00
import App from './App';
2020-04-10 14:04:19 +00:00
import ErrorBoundary from './ErrorBoundary';
import './i18n';
import './fonts.css';
import './main.css';
2020-03-04 10:41:40 +00:00
const electron = window.require('electron');
2020-03-04 10:41:40 +00:00
console.log('Version', electron.remote.app.getVersion());
ReactDOM.render(
(
<ErrorBoundary>
<Suspense fallback={<div />}>
<App />
</Suspense>
</ErrorBoundary>
), document.getElementById('root'),
);