Skip to content

Commit

Permalink
disable address link for se-2 component on list table
Browse files Browse the repository at this point in the history
  • Loading branch information
MattPereira committed May 21, 2024
1 parent db310b2 commit a8fb3ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/nextjs/app/builders/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const BuilderTotals: NextPage = () => {
headers={headers}
hrefPrefix={"/builders/"}
rows={data.builders.items.map((builder: Builder) => {
const builderAddress = <Address size="xl" address={builder.id} key={builder.id} />;
const builderAddress = <Address disableAddressLink size="xl" address={builder.id} key={builder.id} />;
const startDate = timestampToIsoDate(builder.date);
const averageWithdrawalAmount =
builder.withdrawalsCount > 0
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/app/streams/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const Streams: NextPage = () => {
headers={headers}
hrefPrefix={"/streams"}
rows={data?.streams?.items.map((stream: Stream) => {
const address = <Address size="lg" address={stream.id} />;
const address = <Address disableAddressLink size="lg" address={stream.id} />;
const name = stream.name;
const start = timestampToIsoDate(Number(stream.timestamp));
const buildersCount = stream.buildersCount;
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/app/withdrawals/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const Withdrawals: NextPage = () => {
headers={headers}
hrefPrefix="/withdrawals/"
rows={data.withdrawals.items.map((withdrawal: Withdrawal) => {
const builder = <Address size="xl" address={withdrawal.to} key={withdrawal.id} />;
const builder = <Address size="xl" disableAddressLink address={withdrawal.to} key={withdrawal.id} />;
const date = timestampToIsoDate(withdrawal.date);
const amount = customFormatEther(withdrawal.amount);
const id = withdrawal.id;
Expand Down

0 comments on commit a8fb3ae

Please sign in to comment.