Skip to content

Commit 556b545

Browse files
authored
add 219 (#74)
* add 219 * prettier
1 parent 177d280 commit 556b545

8 files changed

+18
-15
lines changed
6.94 MB
Binary file not shown.

public/qr/node-subtensor_specs.png

5.5 KB
Loading
Binary file not shown.
-3.55 KB
Binary file not shown.

src/components/Network.tsx

+7-4
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export const Network = ({
6969
src={icon(chainPortalId)}
7070
className="w-14 h-14 rounded-full bg-neutral-200"
7171
/>
72-
<span>
72+
<span>
7373
{formatTitle(
7474
spec.title === "node-subtensor" ? "Bittensor" : spec.title,
7575
)}
@@ -104,9 +104,12 @@ export const Network = ({
104104
{!metadataQr && (
105105
<div className="flex aspect-square text-center">
106106
<div className="m-auto">
107-
The metadata for {spec.title === "node-subtensor" ? "Bittensor" : spec.title} Network is out of date.
108-
Request the new metadata version by creating a Github
109-
issue.
107+
The metadata for{" "}
108+
{spec.title === "node-subtensor"
109+
? "Bittensor"
110+
: spec.title}{" "}
111+
Network is out of date. Request the new metadata version
112+
by creating a Github issue.
110113
{createGithubIssueLink}
111114
</div>
112115
</div>

src/components/NetworkAndPortalSelectMobile.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ export const NetworkAndPortalSelectMobile = ({
108108
>
109109
<img src={icon(chain)} className="w-8 rounded-full" />
110110
<div className="text-xl">
111-
{formatTitle(
112-
chains[chain].title === "node-subtensor"
113-
? "Bittensor"
114-
: chains[chain].title,
115-
)}
111+
{formatTitle(
112+
chains[chain].title === "node-subtensor"
113+
? "Bittensor"
114+
: chains[chain].title,
115+
)}
116116
</div>
117117
</div>
118118
)}

src/components/NetworkSelect.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const NetworkSelect = ({
4949
>
5050
<img src={icon(chain)} className="w-8 rounded-full" />
5151
<div className="text-lg">
52-
{formatTitle(
52+
{formatTitle(
5353
chains[chain].title === "node-subtensor"
5454
? "Bittensor"
5555
: chains[chain].title,

yarn.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -8436,16 +8436,16 @@ prettier-eslint@^16.1.2:
84368436
typescript "^5.2.2"
84378437
vue-eslint-parser "^9.1.0"
84388438

8439-
prettier@^2.8.4:
8440-
version "2.8.8"
8441-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
8442-
integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==
8443-
84448439
prettier@^3.0.1:
84458440
version "3.1.0"
84468441
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.1.0.tgz#c6d16474a5f764ea1a4a373c593b779697744d5e"
84478442
integrity sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==
84488443

8444+
prettier@^3.0.3:
8445+
version "3.5.0"
8446+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.5.0.tgz#50325a28887c6dfdf2ca3f8eaba02b66a8429ca7"
8447+
integrity sha512-quyMrVt6svPS7CjQ9gKb3GLEX/rl3BCL2oa/QkNcXv4YNVBC9olt3s+H7ukto06q7B1Qz46PbrKLO34PR6vXcA==
8448+
84498449
pretty-bytes@^5.3.0, pretty-bytes@^5.4.1:
84508450
version "5.6.0"
84518451
resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-5.6.0.tgz#356256f643804773c82f64723fe78c92c62beaeb"

0 commit comments

Comments
 (0)