Skip to content

Commit be9b6db

Browse files
committed
feat: update protocols slug
1 parent 43278a9 commit be9b6db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pages/Protocol/Protocol.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ export const ProtocolPage: React.FC = () => {
5959
if (!protocols) return
6060

6161
if (protocolTag) {
62-
const found = Object.entries(protocols).find(([_, p]) => p.tag === protocolTag)
62+
const found = Object.entries(protocols).find(
63+
([_, p]) => p.name.toLowerCase().replaceAll(" ", "_") === protocolTag
64+
)
6365

6466
if (found) {
6567
const [_, protocol] = found

0 commit comments

Comments
 (0)