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.tsx7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/components/ui/textarea/index.tsx b/src/components/ui/textarea/index.tsx
index 4a0e77afe..e332f7a47 100644
--- a/src/components/ui/textarea/index.tsx
+++ b/src/components/ui/textarea/index.tsx
@@ -40,10 +40,9 @@ class TextareaComponent extends Component<IProps> {
40 const { data } = this.props; 40 const { data } = this.props;
41 41
42 if (this.textareaRef?.current && data) { 42 if (this.textareaRef?.current && data) {
43 Object.keys(data).map( 43 Object.keys(data).forEach(key => {
44 // biome-ignore lint/suspicious/noAssignInExpressions: <explanation> 44 this.textareaRef.current!.dataset[key] = data[key];
45 key => (this.textareaRef.current!.dataset[key] = data[key]), 45 });
46 );
47 } 46 }
48 } 47 }
49 48