Skip to content

Commit 49ae597

Browse files
committed
Update ValueNodes.tsx
1 parent 30e0e90 commit 49ae597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ValueNodes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export const StringEdit: React.FC<StringEditProps> = ({
130130
// required when control key is not "standard" text-area
131131
// behaviour ("Shift-Enter" or "Enter")
132132
const newValue = insertCharInTextArea(
133-
textAreaRef as React.MutableRefObject<HTMLTextAreaElement>,
133+
textAreaRef as React.RefObject<HTMLTextAreaElement>,
134134
'\n'
135135
)
136136
setValue(newValue)

0 commit comments

Comments
 (0)