aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/Main.tsx
diff options
context:
space:
mode:
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> {