blob: 64e19ee6a0e45e4b1e2ce0ba1f07cf2dff9e5962 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
import 'modern-normalize/modern-normalize.css';
import './misc/i18n';
import * as React from 'react';
import { createRoot } from 'react-dom/client';
import Modal from 'react-modal';
import Root from './components/Root';
import * as swRegistration from './swRegistration';
const rootEl = document.getElementById('app');
const root = createRoot(rootEl);
Modal.setAppElement(rootEl);
root.render(
<React.StrictMode>
<Root />
</React.StrictMode>
);
swRegistration.register();
// eslint-disable-next-line no-console
console.log('Checkout the repo: https://github.com/haishanh/yacd');
// eslint-disable-next-line
console.log('Version:', __VERSION__);
|