@@ -97,7 +97,6 @@ export const PageComment: FC<PageCommentProps> = memo((props:PageCommentProps):
}, []);
const onCancelDeleteComment = useCallback(() => {
- setCommentToBeDeleted(null);
setIsDeleteConfirmModalShown(false);
@@ -16,7 +16,7 @@ export type DeleteCommentModalProps = {
isShown: boolean,
comment: ICommentHasId,
errorMessage: string,
- cancel: () => void, // for cancel evnet handling
+ cancel: (value: any) => void, // for cancel evnet handling
confirmedToDelete: () => void, // for confirmed event handling
}