catch theme error

pull/2113/head
bunsenstraat 3 years ago
parent fcbecb2bc9
commit 3477e6920a
  1. 14
      apps/remix-ide/src/index.tsx

@ -10,12 +10,14 @@ import { Storage } from '@remix-project/remix-lib'
(async function () { (async function () {
// load app config // load current theme befor anything else
const configStorage = new Storage('config-v0.8:') try {
const config = new Config(configStorage) const configStorage = new Storage('config-v0.8:')
Registry.getInstance().put({ api: config, name: 'config' }) const config = new Config(configStorage)
const theme = new ThemeModule() Registry.getInstance().put({ api: config, name: 'config' })
theme.initTheme() const theme = new ThemeModule()
theme.initTheme()
} catch (e) { }
render( render(
<React.StrictMode> <React.StrictMode>

Loading…
Cancel
Save