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(
    <>
      <h1>Hello, world!</h1>
      <Editor />
    </>,
    document.getElementById("root"),
  );
});
