Skip to content

Commit

Permalink
Merge pull request #4 from curran/vzcode
Browse files Browse the repository at this point in the history
Adopt VZCode
  • Loading branch information
curran authored Aug 18, 2023
2 parents 87ff5c3 + 5ed3bf8 commit afa1386
Show file tree
Hide file tree
Showing 5 changed files with 6,329 additions and 755 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import './style.css';
import { viz as originalViz } from './viz.js';
import { viz as originalViz } from './viz/index.js';

let state = {};
let viz = originalViz;
Expand All @@ -21,7 +21,7 @@ const setState = (next) => {
render();

if (import.meta.hot) {
import.meta.hot.accept('./viz.js', (newViz) => {
import.meta.hot.accept('./viz/index.js', (newViz) => {
if (newViz) {
viz = newViz.viz;
render();
Expand Down
Loading

0 comments on commit afa1386

Please sign in to comment.