aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/Main.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-04-12 20:44:43 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-04-12 20:44:43 -0400
commite3caa89d36c501c16acbc56900546d8a4522584a (patch)
tree579c3c65cd3dc01c32b461bdc9199c0fd54df512 /src/client/views/Main.tsx
parent9c162a938e861509e2e32e7b63409f037e2da284 (diff)
fixed lint warnings.
Diffstat (limited to 'src/client/views/Main.tsx')
-rw-r--r--src/client/views/Main.tsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client/views/Main.tsx b/src/client/views/Main.tsx
index 3cf8f7c26..80e19c4f5 100644
--- a/src/client/views/Main.tsx
+++ b/src/client/views/Main.tsx
@@ -65,8 +65,9 @@ export class PreviewCursorPrompt extends React.Component<PromptProps> {
setTimeout(action(() => this.Visible = true), (1));
}
render() {
- if (!PreviewCursorPrompt.clickPoint)
+ if (!PreviewCursorPrompt.clickPoint) {
return (null);
+ }
if (PreviewCursorPrompt.Visible && this._prompt.current) {
this._prompt.current.focus();
}
@@ -469,8 +470,8 @@ export class Main extends React.Component {
Promise.all(promises).finally(() => {
let schemaDoc = Documents.TreeDocument(schemaDocuments, { width: 50, height: 100, title: schema.displayName! });
this._northstarSchemas.push(schemaDoc);
- })
- })
+ });
+ });
}
}
async initializeNorthstar(): Promise<void> {