From 7ee5f7530e6d7120750811376834bdcacd9ca0d4 Mon Sep 17 00:00:00 2001
From: Kristóf Marussy <kristof@marussy.com>
Date: Sun, 31 Oct 2021 19:53:54 +0100
Subject: chore: fix Sonar warnings

---
 language-web/src/main/js/editor/EditorArea.tsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'language-web/src/main/js/editor/EditorArea.tsx')

diff --git a/language-web/src/main/js/editor/EditorArea.tsx b/language-web/src/main/js/editor/EditorArea.tsx
index 678a632d..dba20f6e 100644
--- a/language-web/src/main/js/editor/EditorArea.tsx
+++ b/language-web/src/main/js/editor/EditorArea.tsx
@@ -95,8 +95,9 @@ export const EditorArea = observer(() => {
 
   useEffect(() => {
     if (editorParentRef.current === null) {
-      // Nothing to clean up.
-      return () => {};
+      return () => {
+        // Nothing to clean up.
+      };
     }
 
     const editorView = new EditorView({
-- 
cgit v1.2.3-70-g09d2

