Skip to content

Commit

Permalink
feat(inscription): no record (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daryl-L authored Aug 19, 2024
1 parent 4bc1e6d commit 8556c50
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 8556c50

Please sign in to comment.