diff --git a/src/utils/addresses.ts b/src/utils/addresses.ts index 5b37047..e46db78 100644 --- a/src/utils/addresses.ts +++ b/src/utils/addresses.ts @@ -1,6 +1,6 @@ import { toChecksumAddress } from 'ethereum-checksum-address'; -export function formatAddress(address: string): string { +export function formatAddress(address?: string): string { if(!address) { return null; }