Skip to content

Commit c1eed4c

Browse files
authored
Merge pull request #368 from sherlock-protocol/fix/protocols-slugs
fix: protocols slugs
2 parents 009f672 + 49d18ed commit c1eed4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/Protocol/Protocol.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export const ProtocolPage: React.FC = () => {
6060

6161
if (protocolTag) {
6262
const found = Object.entries(protocols).find(
63-
([_, p]) => p.name && p.name.toLowerCase().replaceAll(" ", "_") === protocolTag
63+
([_, p]) => (p.name && p.name.toLowerCase().replaceAll(" ", "_") === protocolTag) || p.tag === protocolTag
6464
)
6565

6666
if (found) {

0 commit comments

Comments
 (0)