aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/Main.tsx
diff options
context:
space:
mode:
authortschicke-brown <tyler_schicke@brown.edu>2019-04-08 21:26:48 -0400
committerGitHub <noreply@github.com>2019-04-08 21:26:48 -0400
commita2135bcc0a995378aad0e71ade832a4d526a37f0 (patch)
tree9edabab547aa21dad429f2e6450c110793e3fcbc /src/client/views/Main.tsx
parenta63a3f912f8857963cd5cc14cf1e73f645eb3477 (diff)
parent4dd5460cfafc33df30bcccc0145af17f81fe5d3e (diff)
Merge pull request #82 from browngraphicslab/undo-expansion
Undo expansion
Diffstat (limited to 'src/client/views/Main.tsx')
-rw-r--r--src/client/views/Main.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/views/Main.tsx b/src/client/views/Main.tsx
index c9467e130..fd08782ff 100644
--- a/src/client/views/Main.tsx
+++ b/src/client/views/Main.tsx
@@ -321,7 +321,7 @@ export class Main extends React.Component {
isShown={this.areWorkspacesShown} toggle={this.toggleWorkspaces} />
}
return (
- [
+ <>
<div id="main-div">
<DocumentDecorations />
<Measure onResize={(r: any) => runInAction(() => {
@@ -339,9 +339,9 @@ export class Main extends React.Component {
{this.miscButtons}
{workspaceMenu}
<InkingControl />
- </div>,
- this.activeTextBox
- ]
+ </div>
+ {this.activeTextBox}
+ </>
);
}