diff --git a/old/src/Editor.css b/src/Editor.css similarity index 100% rename from old/src/Editor.css rename to src/Editor.css diff --git a/old/src/Editor.tsx b/src/Editor.tsx similarity index 100% rename from old/src/Editor.tsx rename to src/Editor.tsx diff --git a/old/src/highlight.ts b/src/highlight.ts similarity index 100% rename from old/src/highlight.ts rename to src/highlight.ts diff --git a/src/index.tsx b/src/index.tsx index 46b097b..47903d2 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,8 +1,9 @@ import React from "react"; import ReactDOM from "react-dom"; import init, { parse_org } from "../../organic/target/wasm32-unknown-unknown/js/wasm"; +import Editor from './Editor'; init().then(() => { console.log(parse_org("foo")); - ReactDOM.render(