added comments to prevent further changes
This commit is contained in:
parent
c68ade11ec
commit
29e8e6c997
3 changed files with 6 additions and 0 deletions
|
|
@ -152,6 +152,8 @@ const PageDetailsPage: NextPageWithLayout = observer(() => {
|
|||
}
|
||||
}, [isSubmitting, setShowAlert]);
|
||||
|
||||
// adding pageDetails.description_html to dependency array causes
|
||||
// editor rerendering on every save
|
||||
useEffect(() => {
|
||||
if (pageDetails?.description_html) {
|
||||
setLocalIssueDescription({ id: pageId as string, description_html: pageDetails.description_html });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue