Skip to content

Commit 0754b2a

Browse files
committed
fix(mac-s-g#347): change inputRef to ref to prevent runtime error
1 parent 2feadce commit 0754b2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/components/VariableEditor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ class VariableEditor extends React.PureComponent {
260260
<div>
261261
<AutosizeTextarea
262262
type="text"
263-
inputRef={input => input && input.focus()}
263+
ref={input => input && input.focus()}
264264
value={editValue}
265265
class="variable-editor"
266266
onChange={event => {

0 commit comments

Comments
 (0)