diff --git a/src/lib/helpers.ts b/src/lib/helpers.ts index 06825af..9c81fdb 100644 --- a/src/lib/helpers.ts +++ b/src/lib/helpers.ts @@ -4,7 +4,7 @@ export const truncateWallet: ( postDigits: number | undefined, ) => string = (wallet: string, preDigits: number, postDigits = preDigits) => { const [med, mtd] = [Math.max(preDigits, 3), Math.max(postDigits, 3)]; - return `${wallet.slice(0, med)}...${wallet.slice(-(mtd + 1), -1)}`; + return `${wallet.slice(0, med)}...${wallet.slice(-(mtd + 1), wallet.length)}`; }; export const isNumber = (s: string) => /^[0-9]+$/.test(s); diff --git a/src/views/FundView.vue b/src/views/FundView.vue index 9efa9e2..1ac3bed 100644 --- a/src/views/FundView.vue +++ b/src/views/FundView.vue @@ -122,11 +122,11 @@ +
+ Enable contribution consolidation in order to select. + Click to select a row in order to mark a wallet to receive rewards. +
- Enable contribution consolidation in order to select. - Click to select a row in order to mark a wallet to receive rewards. -