From c60a629f27c68a97d082ab75974b1d2984fc39c3 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 21 May 2023 21:28:10 -0400 Subject: [PATCH] Changing let to const. --- src/shared/components/comment/comment-node.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/components/comment/comment-node.tsx b/src/shared/components/comment/comment-node.tsx index 4643ca99..d2dee1e8 100644 --- a/src/shared/components/comment/comment-node.tsx +++ b/src/shared/components/comment/comment-node.tsx @@ -1053,7 +1053,7 @@ export class CommentNode extends Component { : i18n.t("link"); // The context button should show the parent comment by default - let parentCommentId = getCommentParentId(cv.comment) ?? cv.comment.id; + const parentCommentId = getCommentParentId(cv.comment) ?? cv.comment.id; return ( <>