From 1d213e2e7b57b1eed04897c7c88dfcdc724e03fa Mon Sep 17 00:00:00 2001 From: Gordon Farrell Date: Thu, 7 Nov 2024 14:06:40 -0700 Subject: [PATCH] play with typing to make turbo build happy --- containers/ecr-viewer/src/app/components/EcrTableClient.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/ecr-viewer/src/app/components/EcrTableClient.tsx b/containers/ecr-viewer/src/app/components/EcrTableClient.tsx index 506c495885..968d94356f 100644 --- a/containers/ecr-viewer/src/app/components/EcrTableClient.tsx +++ b/containers/ecr-viewer/src/app/components/EcrTableClient.tsx @@ -320,7 +320,7 @@ const concatenateAndAddNewlines = (stringArray: []) => { let concatenatedString = ""; for (const item in stringArray) { - const itemAsNumber = item as number; + const itemAsNumber = Number(item); concatenatedString += stringArray[itemAsNumber]; if (itemAsNumber < stringArray.length - 1) concatenatedString += "\n\n";