mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 10:09:31 -07:00
fix(main.ts): fix imported module and function for correct init
This commit is contained in:
@@ -11,8 +11,8 @@ initNav()
|
||||
|
||||
if (ijs.length > 0) {
|
||||
if (!isMobile()) {
|
||||
const d = await import('./desktop/stage')
|
||||
d.initStage(ijs)
|
||||
const d = await import('./desktop/init')
|
||||
d.initDesktop(ijs)
|
||||
} else {
|
||||
const m = await import('./mobile/init')
|
||||
m.initMobile(ijs)
|
||||
|
||||
Reference in New Issue
Block a user