Skip to content

Commit

Permalink
Fix InputTextarea regression (#2344)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianguyen authored Jan 5, 2025
1 parent 3034e96 commit 85f0149
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/assets/stylesheets/dashboard/dashboard_section.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
margin: $size-10 $size-0 $size-0 $size-0;
padding-left: $size-0;
width: 100%;

display: flex;
flex-direction: column;
align-items: center;
Expand Down
3 changes: 2 additions & 1 deletion client/app/components/Input/InputTextarea.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ export function InputTextarea(props: Props): Node {
});
editor.current.content.innerHTML = value;
}
}, [value]);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

return (
<div
Expand Down

0 comments on commit 85f0149

Please # to comment.