From 58d99eb261d6bcd260647429418b17190d1d540b Mon Sep 17 00:00:00 2001 From: ejmg Date: Thu, 23 May 2024 12:44:48 -0500 Subject: [PATCH] Chore: fix erroneous typescript error --- src/components/ActionView/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ActionView/index.tsx b/src/components/ActionView/index.tsx index a539e23..2596638 100644 --- a/src/components/ActionView/index.tsx +++ b/src/components/ActionView/index.tsx @@ -76,7 +76,7 @@ function useCopyToClipboard() { const TxRow: FC<{ label: string, value?: string | bigint | number, className?: string }> = ({ label: name, value, className }) => { const copyToClipboard = useCopyToClipboard(); - let text; + let text : string; if (value !== undefined) { if (typeof value === "number" || typeof value === "bigint") { text = value.toString();