aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/textarea/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ui/textarea/index.tsx')
-rw-r--r--src/components/ui/textarea/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ui/textarea/index.tsx b/src/components/ui/textarea/index.tsx
index 89e85ac11..fbdef7fc6 100644
--- a/src/components/ui/textarea/index.tsx
+++ b/src/components/ui/textarea/index.tsx
@@ -38,7 +38,7 @@ class TextareaComponent extends Component<IProps> {
38 componentDidMount() { 38 componentDidMount() {
39 const { data } = this.props; 39 const { data } = this.props;
40 40
41 if (this.textareaRef && this.textareaRef.current && data) { 41 if (this.textareaRef?.current && data) {
42 Object.keys(data).map( 42 Object.keys(data).map(
43 key => (this.textareaRef.current!.dataset[key] = data[key]), 43 key => (this.textareaRef.current!.dataset[key] = data[key]),
44 ); 44 );