From 5cf42357dbd789078e0e1e9ff2711a691e12f27c Mon Sep 17 00:00:00 2001 From: John SJ Anderson Date: Fri, 7 Jun 2024 12:19:35 -0700 Subject: [PATCH] =?UTF-8?q?Convert=20a=20`let`=20assignment=20to=20`const`?= =?UTF-8?q?=E2=80=A6=20[#905]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …to make the linter happy --- static-site/src/components/ListResources/useDataFetch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static-site/src/components/ListResources/useDataFetch.ts b/static-site/src/components/ListResources/useDataFetch.ts index 4d1a992fb..ef68e585e 100644 --- a/static-site/src/components/ListResources/useDataFetch.ts +++ b/static-site/src/components/ListResources/useDataFetch.ts @@ -71,7 +71,7 @@ function partitionByPathogen(pathVersions: PathVersions, pathPrefix: string, ver const nameParts = name.split('/'); // split() will always return at least 1 string - let groupName = nameParts[0]!; + const groupName = nameParts[0]!; const resourceDetails: Resource = { name,