Skip to content

Commit e60c515

Browse files
committed
Change exports
1 parent b9887bf commit e60c515

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/onboard.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import 'regenerator-runtime/runtime'
22

33
import { get } from 'svelte/store'
44

5-
import modules from './modules'
65
import Onboard from './views/Onboard.svelte'
76

87
import {
@@ -30,6 +29,8 @@ import {
3029
Wallet
3130
} from './interfaces'
3231

32+
export { default as modules } from './modules'
33+
3334
function init(initialization: Initialization): API {
3435
validateInit(initialization)
3536

@@ -139,7 +140,4 @@ function init(initialization: Initialization): API {
139140
return { walletSelect, walletCheck, config, getState }
140141
}
141142

142-
export default {
143-
init,
144-
modules
145-
}
143+
export default init

0 commit comments

Comments
 (0)