aboutsummaryrefslogtreecommitdiff
path: root/src/z/App/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/z/App/main.js')
-rw-r--r--src/z/App/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/z/App/main.js b/src/z/App/main.js
index 183e544..265c886 100644
--- a/src/z/App/main.js
+++ b/src/z/App/main.js
@@ -26,10 +26,10 @@ async function wasm_handle_event(target, name, event, pass_event) {
if (pass_event) {
const id = ObjectStore.generateFreeId();
ObjectStore.registerObject(id, event);
- wasm.exports[name](component["@ptr"], id);
+ wasm.exports[name](component[ZsPtr], id);
ObjectStore.free(event);
} else {
- wasm.exports[name](component["@ptr"]);
+ wasm.exports[name](component[ZsPtr]);
}
}