diff --git a/web/core/components/comments/comments.tsx b/web/core/components/comments/comments.tsx index 214b1375e..bbda0f45f 100644 --- a/web/core/components/comments/comments.tsx +++ b/web/core/components/comments/comments.tsx @@ -34,12 +34,6 @@ export const CommentsWrapper: FC = observer((props) => { entityId={entityId} activityOperations={activityOperations} projectId={projectId} - onSubmitCallback={async (elementId: string) => { - const sourceElementId = elementId ?? ""; - const sourceElement = document.getElementById(sourceElementId); - if (sourceElement) - await smoothScrollIntoView(sourceElement, { behavior: "smooth", block: "center", duration: 1500 }); - }} /> ), [isEditingAllowed, workspaceSlug, entityId, activityOperations, projectId]