File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -48,27 +48,27 @@ function init(initialization: Initialization): API {
48
48
49
49
const { os, isMobile } = getDeviceInfo ( )
50
50
51
+ const initializedModules = initializeModules (
52
+ networkId ,
53
+ initialization . walletSelect ,
54
+ initialization . walletCheck
55
+ )
56
+
51
57
app . update ( ( store : AppState ) => ( {
52
58
...store ,
53
59
dappId,
54
60
networkId,
55
61
version,
56
62
mobileDevice : isMobile ,
57
63
os,
58
- darkMode
64
+ darkMode,
65
+ checkModules : initializedModules . walletCheck
59
66
} ) )
60
67
61
- const initializedModules = initializeModules (
62
- networkId ,
63
- initialization . walletSelect ,
64
- initialization . walletCheck
65
- )
66
-
67
68
onboard = new Onboard ( {
68
69
target : document . body ,
69
70
props : {
70
71
walletSelectModule : initializedModules . walletSelect ,
71
- walletCheckModules : initializedModules . walletCheck ,
72
72
walletSelect
73
73
}
74
74
} )
You can’t perform that action at this time.
0 commit comments