parent
c957920363
commit
1ba79bdb90
@ -1,17 +0,0 @@ |
||||
'use strict' |
||||
import React from 'react' // eslint-disable-line
|
||||
import { RemixApp } from '@remix-ui/app' |
||||
import AppComponent from './app-component' |
||||
|
||||
const appComponent = new AppComponent() |
||||
appComponent.run() |
||||
|
||||
function App () { |
||||
return <> |
||||
<React.StrictMode> |
||||
<RemixApp app={appComponent}></RemixApp> |
||||
</React.StrictMode> |
||||
</> |
||||
} |
||||
|
||||
export default App |
@ -1,9 +1,16 @@ |
||||
// eslint-disable-next-line no-use-before-define
|
||||
import React from 'react' |
||||
import ReactDOM from 'react-dom' |
||||
import App from './app' |
||||
import AppComponent from './app' |
||||
// eslint-disable-next-line no-unused-vars
|
||||
import { RemixApp } from '@remix-ui/app' |
||||
|
||||
const appComponent = new AppComponent() |
||||
appComponent.run() |
||||
|
||||
ReactDOM.render( |
||||
<App />, |
||||
<React.StrictMode> |
||||
<RemixApp app={appComponent}></RemixApp> |
||||
</React.StrictMode>, |
||||
document.getElementById('root') |
||||
) |
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue