Skip to content

Commit

Permalink
add override for name bittensor
Browse files Browse the repository at this point in the history
  • Loading branch information
camfairchild committed Oct 4, 2023
1 parent 8c6de1d commit c22daed
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/components/Network.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ export const Network = ({
src={icon(chainPortalId)}
className="w-14 h-14 rounded-full bg-neutral-200"
/>
<span>{formatTitle(spec.title)}</span>
<span>
{formatTitle(
spec.title === "node-subtensor" ? "Bittensor" : spec.title,
)}
</span>
</div>
<Links />
</div>
Expand Down
6 changes: 5 additions & 1 deletion src/components/NetworkSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ export const NetworkSelect = ({
>
<img src={icon(chain)} className="w-8 rounded-full" />
<div className="text-lg">
{formatTitle(chains[chain].title)}
{formatTitle(
chains[chain].title === "node-subtensor"
? "Bittensor"
: chains[chain].title,
)}
</div>
</div>
)}
Expand Down

0 comments on commit c22daed

Please sign in to comment.