Skip to content

Commit

Permalink
Try fix playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
abefernan committed Oct 15, 2024
1 parent 4820f0a commit 2bb9732
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions components/txs-table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@ export function TxsTable() {
getSortedRowModel: getSortedRowModel(),
});

if (isPending) {
return "Loading...";
}

if (error) {
return "An error ocurred";
}

return (
<div className="space-y-4">
<DataTableToolbar table={table} />
Expand Down

0 comments on commit 2bb9732

Please sign in to comment.