Fix: Certain languages not loading due to bad map.

This commit is contained in:
Paul
2021-07-06 08:56:30 +01:00
parent 002d565b3f
commit 57ef8408a6
2 changed files with 6 additions and 1 deletions

View File

@@ -36,6 +36,7 @@ export default function TextAreaAutoSize(props: TextAreaAutoSizeProps) {
forceFocus,
children,
as,
onChange,
...textAreaProps
} = props;
const line = lineHeight ?? DEFAULT_LINE_HEIGHT;
@@ -107,6 +108,10 @@ export default function TextAreaAutoSize(props: TextAreaAutoSizeProps) {
style={{ height }}
hideBorder={hideBorder}
lineHeight={lineHeight}
onChange={ev => {
onChange && onChange(ev);
}}
{...textAreaProps}
/>
);