catch theme error

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

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

Loading…
Cancel
Save