From 4aa137563142506e11da01fd2b0bfe93ba724a30 Mon Sep 17 00:00:00 2001 From: Akshay Date: Tue, 18 May 2021 18:07:31 +0200 Subject: [PATCH] Improvement: Use const --- src/templates/MarkdownList.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/MarkdownList.jsx b/src/templates/MarkdownList.jsx index b8bf2f94..61a9733e 100644 --- a/src/templates/MarkdownList.jsx +++ b/src/templates/MarkdownList.jsx @@ -82,7 +82,7 @@ export default function MarkdownList({ pageContext }) { ) } else { - let keys = Object.keys(nested).sort() + const keys = Object.keys(nested).sort() const children = [] children.push(