Skip to content

Commit

Permalink
fix qwik-worker import
Browse files Browse the repository at this point in the history
  • Loading branch information
Varixo committed Oct 16, 2024
1 parent b4e5e26 commit f2acbcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/qwik-worker/src/worker.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { _deserializeData } from '@builder.io/qwik';
import { _deserialize } from '@builder.io/qwik';

globalThis.document = {
nodeType: 9,
Expand Down Expand Up @@ -30,7 +30,7 @@ globalThis.onmessage = async ({ data }) => {
},
};
try {
const [qrl, ...args] = _deserializeData(data[3], containerEl);
const [qrl, ...args] = _deserialize(data[3], containerEl);
const output = await qrl.apply(undefined, args);
self.postMessage([requestId, true, output]);
} catch (err) {
Expand Down

0 comments on commit f2acbcc

Please sign in to comment.