Skip to content

Commit

Permalink
chore: correct usage in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Caele committed May 5, 2023
1 parent c1cc025 commit 2fb9214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/serve/web/render-fixture.js
Expand Up @@ -128,7 +128,7 @@ const renderFixture = async (params) => {
});
const events = snConfig?.events || [];
events.forEach((e) => {
viz.on(e, (message) => {
viz.addListener(e, (message) => {
document.querySelector('#events').innerHTML = message;
});
});
Expand Down

0 comments on commit 2fb9214

Please sign in to comment.