Skip to content

Commit 38827e6

Browse files
committed
cln: remove outdated workaround
1 parent 036fb5e commit 38827e6

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

webzebra/src/worker.ts

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,7 @@ let lastStopTokenCheck = undefined as number | undefined;
113113
return false
114114
}
115115

116-
// FIXME is it possible to get rid of this nonsense cascade?
117-
// I'm fighting some transpile process or something with this
118-
119-
init()
120-
.then(() => import('../crate/pkg'))
121-
.then(res => {
122-
res.initialize()
123-
124-
})
125-
.then(() => {
126-
sendMessage([MessageType.Initialized])
127-
})
116+
init().then(res => {
117+
res.initialize()
118+
sendMessage([MessageType.Initialized])
119+
})

0 commit comments

Comments
 (0)