Skip to content

Commit

Permalink
fix: metadata field names (#48)
Browse files Browse the repository at this point in the history
* fix: metadata field names

* style: changing text casing

---------

Co-authored-by: Matt Solomon <[email protected]>
  • Loading branch information
leovct and mds1 authored Jan 10, 2024
1 parent 73480dd commit a6f9235
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/diff/DiffMetadata.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ const hiddenField = (field: MetadataKey) => {
const formatFieldDisplayName = (field: MetadataKey) => {
if (field === 'id') return 'Chain ID';
if (field === 'name') return 'Name';
if (field === 'rpcUrls') return 'RPC URLs';
if (field === 'blockExplorers') return 'Block Explorers';
if (field === 'nativeCurrency') return 'Native Currency';
if (field === 'contracts') return 'Multicall3';
return field;
Expand Down

1 comment on commit a6f9235

@vercel
Copy link

@vercel vercel bot commented on a6f9235 Jan 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.