Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
workaround for mode to display properly without supporting in rest of app
  • Loading branch information
evanaronson authored Oct 30, 2024
1 parent 6aa4c91 commit 9640564
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/daoCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ export const DaoCard = (props: IDaoCardProps) => {
icon={IconType.BLOCKCHAIN_BLOCKCHAIN}
className="text-neutral-600"
/>
<IconLabel>{CHAIN_METADATA[network].name}</IconLabel>
<IconLabel>

Check failure on line 56 in src/components/daoCard/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-test

Insert `··`
{network === 'mode' ? 'Mode' : CHAIN_METADATA[network].name}

Check failure on line 57 in src/components/daoCard/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-test

Insert `··`
</IconLabel>

Check failure on line 58 in src/components/daoCard/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-test

Insert `··`
</IconWrapper>
{overrideUrl != null && (
<AvatarIcon variant="primary" icon={IconType.LINK_EXTERNAL} />
Expand Down

0 comments on commit 9640564

Please sign in to comment.