diff options
| author | srichman333 <sarah_n_richman@brown.edu> | 2024-01-11 14:28:27 -0500 |
|---|---|---|
| committer | srichman333 <sarah_n_richman@brown.edu> | 2024-01-11 14:28:27 -0500 |
| commit | 3c6bef03e9f1cd019130056b83493c1c4e9ce0e1 (patch) | |
| tree | 5a580ff638879eba77cf9fd5df82b13e9189da0e /src/mobile/MobileInterface.tsx | |
| parent | 9200e09939ba3d23bcf79efda008a7a990d29b95 (diff) | |
| parent | d7f7d7db4494bb1091c7e8c603d5926aa175fe4e (diff) | |
Merge branch 'master' into data-visualization-sarah
Diffstat (limited to 'src/mobile/MobileInterface.tsx')
| -rw-r--r-- | src/mobile/MobileInterface.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mobile/MobileInterface.tsx b/src/mobile/MobileInterface.tsx index e3d8f9394..a1ce55314 100644 --- a/src/mobile/MobileInterface.tsx +++ b/src/mobile/MobileInterface.tsx @@ -257,7 +257,7 @@ export class MobileInterface extends React.Component { } @action - componentDidMount = () => { + componentDidMount() { // if the home menu is in list view -> adjust the menu toggle appropriately this._menuListView = this._homeDoc._type_collection === 'stacking' ? true : false; Doc.ActiveTool = InkTool.None; // ink should intially be set to none @@ -267,7 +267,7 @@ export class MobileInterface extends React.Component { // remove double click to avoid mobile zoom in document.removeEventListener('dblclick', this.onReactDoubleClick); document.addEventListener('dblclick', this.onReactDoubleClick); - }; + } @action componentWillUnmount = () => { |
