forked from abner/for-legacy-web
Fix: Certain languages not loading due to bad map.
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user