18 lines
443 B
TypeScript
18 lines
443 B
TypeScript
import React from 'react'
|
|
import ReactDOM from 'react-dom/client'
|
|
import App from './ReservationApp'
|
|
|
|
import './index.css'
|
|
|
|
import './demos/ipc'
|
|
// If you want use Node.js, the`nodeIntegration` needs to be enabled in the Main process.
|
|
// import './demos/node'
|
|
|
|
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
|
|
<React.StrictMode>
|
|
<App />
|
|
</React.StrictMode>,
|
|
)
|
|
|
|
postMessage({ payload: 'removeLoading' }, '*')
|