Skip to content

Commit

Permalink
Chore: fix erroneous typescript error
Browse files Browse the repository at this point in the history
  • Loading branch information
ejmg committed May 23, 2024
1 parent a4f108e commit 58d99eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ActionView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 58d99eb

Please sign in to comment.