Skip to content

Commit c037f95

Browse files
committed
fix
1 parent 1490dfe commit c037f95

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?.toLowerCase().replaceAll(" ", "_") === protocolTag
63+
([_, p]) => p.name && p.name.toLowerCase().replaceAll(" ", "_") === protocolTag
6464
)
6565

6666
if (found) {

0 commit comments

Comments
 (0)