diff --git a/web/pages/[workspaceSlug]/projects/[projectId]/pages/[pageId].tsx b/web/pages/[workspaceSlug]/projects/[projectId]/pages/[pageId].tsx index 3d416c507..61a291634 100644 --- a/web/pages/[workspaceSlug]/projects/[projectId]/pages/[pageId].tsx +++ b/web/pages/[workspaceSlug]/projects/[projectId]/pages/[pageId].tsx @@ -328,6 +328,7 @@ const PageDetailsPage: NextPageWithLayout = observer(() => { description_html: "", }); + // ADDING updatePage TO DEPENDENCY ARRAY PRODUCES ADVERSE EFFECTS const debouncedFormSave = useCallback( debounce(async () => { handleSubmit(updatePage)().finally(() => setIsSubmitting("submitted"));