Skip to content

Commit 1f961e9

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

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.DS_Store

6 KB
Binary file not shown.

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)