diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-03-21 00:35:56 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-03-21 00:35:56 -0400 |
commit | cac21da4feeb5cebdda008011ab89bce15b01214 (patch) | |
tree | e2d50aa3199160e440a3a9c1617533606bdbcb34 /src/client/views/EditableView.tsx | |
parent | 0d430943b0bab1d63f014aaa3ddf3460785c640e (diff) | |
parent | d882d4013dc2df03a55c3f4afc954b7d9a38b4e4 (diff) |
Merge branch 'master' into editableSchema
Diffstat (limited to 'src/client/views/EditableView.tsx')
-rw-r--r-- | src/client/views/EditableView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/EditableView.tsx b/src/client/views/EditableView.tsx index 98a6ed1ba..579d6e6ad 100644 --- a/src/client/views/EditableView.tsx +++ b/src/client/views/EditableView.tsx @@ -1,6 +1,6 @@ import React = require('react') import { observer } from 'mobx-react'; -import { observable, action } from 'mobx'; +import { observable, action, trace } from 'mobx'; import "./EditableView.scss" export interface EditableProps { @@ -52,7 +52,7 @@ export class EditableView extends React.Component<EditableProps> { } else { return ( <div className="editableView-container-editing" style={{ display: this.props.display, height: "auto", maxHeight: `${this.props.height}` }} - onClick={action(() => this.editing = true)}> + onClick={action(() => this.editing = true)} > {this.props.contents} </div> ) |