diff --git a/src/helpers/shortenStellarAddress.ts b/src/helpers/shortenStellarAddress.ts index 9ad91a58..7f1cf488 100644 --- a/src/helpers/shortenStellarAddress.ts +++ b/src/helpers/shortenStellarAddress.ts @@ -1,7 +1,7 @@ -export function shortenStellarAddress(address: string, size: number = 8) { +export const shortenStellarAddress = (address: string, size: number = 8) => { const slice = Math.ceil(size / 2); return `${address.substring(0, slice)}…${address.substring( address.length - slice, )}`; -} +};