diff --git a/apps/remix-ide/src/index.tsx b/apps/remix-ide/src/index.tsx
index 7d4e34b983..92a0206003 100644
--- a/apps/remix-ide/src/index.tsx
+++ b/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 {
- 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()
-
-render(
-
-
- ,
- document.getElementById('root')
-)
+(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()
+ render(
+
+
+ ,
+ document.getElementById('root')
+ )
+})()