matthoffner commited on
Commit
6d6646a
·
1 Parent(s): a4257e7

Update app/editor/index.tsx

Browse files
Files changed (1) hide show
  1. app/editor/index.tsx +2 -2
app/editor/index.tsx CHANGED
@@ -58,8 +58,8 @@ export default function Editor({ defaultValue }: { defaultValue: string }) {
58
 
59
  return (
60
  <>
61
- <div id="editor" ref={ref} style={{ height: 50vh }} />
62
- <button onPress={}>preview</button>
63
  <div id="root" />
64
  </>
65
  }
 
58
 
59
  return (
60
  <>
61
+ <div id="editor" ref={ref} style={{ height: "50vh" }} />
62
+ <button onClick={handlePreview}>preview</button>
63
  <div id="root" />
64
  </>
65
  }