Skip to content

Commit 378765e

Browse files
committed
lint
1 parent cc4392f commit 378765e

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

apps/remix-ide/src/index.tsx

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,25 @@ import { Storage } from '@remix-project/remix-lib'
1010

1111
import { createRoot } from 'react-dom/client'
1212

13-
; (async function () {
14-
try {
15-
const configStorage = new Storage('config-v0.8:')
16-
const config = new Config(configStorage)
17-
Registry.getInstance().put({ api: config, name: 'config' })
18-
} catch (e) { }
19-
const theme = new ThemeModule()
20-
theme.initTheme()
13+
; (async function () {
14+
try {
15+
const configStorage = new Storage('config-v0.8:')
16+
const config = new Config(configStorage)
17+
Registry.getInstance().put({ api: config, name: 'config' })
18+
} catch (e) { }
19+
const theme = new ThemeModule()
20+
theme.initTheme()
2121

22-
const container = document.getElementById('root');
23-
const root = createRoot(container)
24-
if (container) {
25-
if (window.location.hash.includes('source=github')) {
26-
root.render(
27-
<GitHubPopupCallback />
28-
)
29-
} else {
30-
root.render(
31-
<Preload root={root} />)
32-
}
22+
const container = document.getElementById('root');
23+
const root = createRoot(container)
24+
if (container) {
25+
if (window.location.hash.includes('source=github')) {
26+
root.render(
27+
<GitHubPopupCallback />
28+
)
29+
} else {
30+
root.render(
31+
<Preload root={root} />)
3332
}
34-
})()
33+
}
34+
})()

0 commit comments

Comments
 (0)