File tree Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -10,25 +10,25 @@ import { Storage } from '@remix-project/remix-lib'
10
10
11
11
import { createRoot } from 'react-dom/client'
12
12
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 ( )
21
21
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 } /> )
33
32
}
34
- } ) ( )
33
+ }
34
+ } ) ( )
You can’t perform that action at this time.
0 commit comments