aboutsummaryrefslogtreecommitdiff
path: root/src/Main.tsx
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-01-22 20:31:32 -0500
committerTyler Schicke <tyler_schicke@brown.edu>2019-01-22 20:31:32 -0500
commit8a1915a73d1d1173059a212db3b79f8efcdd9e9e (patch)
tree10fbad6a2b3a2dd4f178d062cc01f976244640aa /src/Main.tsx
parentc67608a7eeeb6bdee27a8e7b4a8f6f8561db6004 (diff)
Temporarily got rid of dvm to draastically improve performance and reduce number of re-renders
Diffstat (limited to 'src/Main.tsx')
-rw-r--r--src/Main.tsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Main.tsx b/src/Main.tsx
index 7c132f179..5482314ae 100644
--- a/src/Main.tsx
+++ b/src/Main.tsx
@@ -23,12 +23,8 @@ ReactDOM.render((
<div>
<FreeFormCanvas store={mainNodeCollection} />
<DocumentDecorations />
- <button onClick={minus}>-</button>
</div>), document.getElementById('root'));
-function minus() {
-
-}
runInAction(() => {
let doc1 = Documents.TextDocument("Hello world");
let doc2 = doc1.MakeDelegate();