Skip to content

Commit

Permalink
feat(inscription): no record
Browse files Browse the repository at this point in the history
  • Loading branch information
Daryl-L committed Aug 13, 2024
1 parent 6b4b361 commit 296c482
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/pages/UDT/UDTComp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,15 @@ export const UDTComp = ({
</UDTNoResultPanel>
)
}

if (transactions.length === 0) {
return (
<UDTNoResultPanel>
<span>{t('transaction.no_records')}</span>
</UDTNoResultPanel>
)
}

return (
<>
<UDTTransactionsPanel>
Expand Down

0 comments on commit 296c482

Please sign in to comment.