From 0754b2a16dab85ee2076540ea12fcbfe554157dd Mon Sep 17 00:00:00 2001
From: Enrico P <enrico.p@taxfix.de>
Date: Fri, 27 Aug 2021 14:58:45 +0200
Subject: [PATCH] fix(#347): change inputRef to ref to prevent runtime error

---
 src/js/components/VariableEditor.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/js/components/VariableEditor.js b/src/js/components/VariableEditor.js
index a78aab4e..523df695 100644
--- a/src/js/components/VariableEditor.js
+++ b/src/js/components/VariableEditor.js
@@ -260,7 +260,7 @@ class VariableEditor extends React.PureComponent {
             <div>
                 <AutosizeTextarea
                     type="text"
-                    inputRef={input => input && input.focus()}
+                    ref={input => input && input.focus()}
                     value={editValue}
                     class="variable-editor"
                     onChange={event => {