diff --git a/js/AvatarPreview.js b/js/AvatarPreview.js index 91e048f..79631ec 100644 --- a/js/AvatarPreview.js +++ b/js/AvatarPreview.js @@ -1,6 +1,6 @@ import { van } from "./van.js"; -import { showEditor } from "./state.js"; const { button, iframe, div, img } = van.tags; +import { showEditor, previewUrl } from "./state.js"; export function AvatarPreview() { return div( @@ -21,6 +21,5 @@ export function AvatarPreview() { // src: "http://localhost:3000/viewer/default", src: previewUrl, }), - }) ); }