Skip to content

Commit

Permalink
fix: component showcase page crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
efstajas committed Jul 21, 2023
1 parent 6d1b880 commit 73d08ad
Showing 1 changed file with 21 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,23 @@
interface IncomingStreamInfo {
name: string;
address: string;
from: {
address: string;
driver: 'address';
accountId: string;
};
totalEarned: AmountCellData;
amountPerSec: AmountCellData;
}
const defaultData: IncomingStreamInfo[] = [
{
name: 'Marketing Contributor',
address: '0x99505B669C6064BA2B2f26f2E4fffa5e8d906299',
from: {
address: '0x99505B669C6064BA2B2f26f2E4fffa5e8d906299',
accountId: '1234',
driver: 'address',
},
totalEarned: {
amount: {
amount: BigInt('1000000000000000000'),
Expand All @@ -39,7 +47,11 @@
},
{
name: 'Windows support for Upstream',
address: '0x71E686C1B95e8A1faA636Ea046b97eA985E248d0',
from: {
address: '0x71E686C1B95e8A1faA636Ea046b97eA985E248d0',
accountId: '1235',
driver: 'address',
},
totalEarned: {
amount: {
amount: BigInt('5000000000000000000'),
Expand All @@ -55,7 +67,11 @@
},
{
name: 'RAD Contributor Vesting',
address: '0x71E686C1B95e8A1faA636Ea046b97eA985E248d0',
from: {
address: '0x71E686C1B95e8A1faA636Ea046b97eA985E248d0',
accountId: '1235',
driver: 'address',
},
totalEarned: {
amount: {
amount: BigInt('3000000000000000000'),
Expand All @@ -78,7 +94,7 @@
cell: (info) => info.getValue(),
},
{
accessorKey: 'address',
accessorKey: 'from',
cell: () => IdentityBadgeCell,
header: 'From',
enableSorting: false,
Expand Down

0 comments on commit 73d08ad

Please sign in to comment.