From 0c764c2cb7804292da46cfd6b3cb33a2cc05d1ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michal=20Mal=C3=BD?= <michal.maly@ibt.cas.cz>
Date: Thu, 4 Aug 2022 11:26:46 +0200
Subject: [PATCH] Braces

---
 src/apps/rednatco/index.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/apps/rednatco/index.tsx b/src/apps/rednatco/index.tsx
index 33acd2c2d..af92e846a 100644
--- a/src/apps/rednatco/index.tsx
+++ b/src/apps/rednatco/index.tsx
@@ -167,12 +167,13 @@ export class ReDNATCOMsp extends React.Component<ReDNATCOMsp.Props, State> {
     }
 
     loadStructure(data: string, type: 'pdb'|'cif') {
-        if (this.viewer)
+        if (this.viewer) {
             this.viewer.loadStructure(data, type, this.state.display).then(() => {
                 this.presentConformers = this.viewer!.getPresentConformers();
                 this.forceUpdate();
                 ReDNATCOMspApi.event(Api.Events.StructureLoaded());
             });
+        }
     }
 
     viewerStepDeselected() {
-- 
GitLab