Skip to content

Commit

Permalink
improve format mint url array
Browse files Browse the repository at this point in the history
  • Loading branch information
KKA11010 committed Sep 10, 2023
1 parent 33c5f76 commit 58b70bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ClipboardModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function ClipboardModal() {
styles={[{ fontWeight: '500' }]}
/>
{' '}Satoshi {t('fromMint')}:{'\n'}
{tokenInfo.mints.map((m, i) => `${formatMintUrl(m)}${i < tokenInfo.mints.length - 1 ? ', ' : ''}`)}
{tokenInfo.mints.map(m => formatMintUrl(m)).join(', ')}
</Text>
<Button
txt={t('accept')}
Expand Down

0 comments on commit 58b70bc

Please sign in to comment.