mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-22 14:09:30 -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 (ijs.length > 0) {
|
||||||
if (!isMobile()) {
|
if (!isMobile()) {
|
||||||
const d = await import('./desktop/stage')
|
const d = await import('./desktop/init')
|
||||||
d.initStage(ijs)
|
d.initDesktop(ijs)
|
||||||
} else {
|
} else {
|
||||||
const m = await import('./mobile/init')
|
const m = await import('./mobile/init')
|
||||||
m.initMobile(ijs)
|
m.initMobile(ijs)
|
||||||
|
|||||||
Reference in New Issue
Block a user