async index

pull/2274/head
filip mertens 3 years ago
parent a172f41820
commit 95b01c8691
  1. 15
      apps/remix-ide/src/index.tsx

@ -8,20 +8,21 @@ import Config from './config'
import Registry from './app/state/registry'
import { Storage } from '@remix-project/remix-lib'
try {
(async function () {
try {
const configStorage = new Storage('config-v0.8:')
const config = new Config(configStorage);
Registry.getInstance().put({ api: config, name: 'config' })
} catch (e) { }
const theme = new ThemeModule()
theme.initTheme()
} catch (e) { }
const theme = new ThemeModule()
theme.initTheme()
render(
render(
<React.StrictMode>
<Preload></Preload>
</React.StrictMode>,
document.getElementById('root')
)
)
})()

Loading…
Cancel
Save