diff options
| author | Sam Wilkins <samwilkins333@gmail.com> | 2019-08-14 01:00:29 -0400 |
|---|---|---|
| committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-08-14 01:00:29 -0400 |
| commit | dc766185075b5861686c68a704a8e49213eacbc6 (patch) | |
| tree | b883fd60d3997aee5ee8e4fe00cda69127777e6c /src/client/views/MainView.tsx | |
| parent | 2b829d1028a61869858ecd48e2f1801819e17488 (diff) | |
cleanup and streamlined / robust type requirements
Diffstat (limited to 'src/client/views/MainView.tsx')
| -rw-r--r-- | src/client/views/MainView.tsx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index 7b15e9624..77f0e3d60 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -149,18 +149,6 @@ export class MainView extends React.Component { }, { fireImmediately: true }); } - componentDidMount() { - reaction(() => this.mainContainer, () => { - let main = this.mainContainer, documentId; - if (main && (documentId = StrCast(main.googleDocId))) { - let options = { documentId, removeNewlines: true }; - GoogleApiClientUtils.Docs.ReadLines(options).then(lines => { - console.log(lines); - }); - } - }); - } - componentWillUnMount() { window.removeEventListener("keydown", KeyManager.Instance.handle); window.removeEventListener("pointerdown", this.globalPointerDown); |
