Skip to content

Commit

Permalink
fix(mac-s-g#347): change inputRef to ref to prevent runtime error
Browse files Browse the repository at this point in the history
  • Loading branch information
enricomad committed Aug 27, 2021
1 parent 2feadce commit 0754b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/components/VariableEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 0754b2a

Please sign in to comment.