diff --git a/components/shared/filters/modules/usePopularCollections.ts b/components/shared/filters/modules/usePopularCollections.ts index ee377c005a..13fefcea8b 100644 --- a/components/shared/filters/modules/usePopularCollections.ts +++ b/components/shared/filters/modules/usePopularCollections.ts @@ -20,7 +20,7 @@ function handleResult( })) || [] return collections .concat(newCollections) - .sort((a, b) => a.meta.name.localeCompare(b.meta.name)) + .sort((a, b) => a.meta.name?.localeCompare(b.meta.name)) } function getCollections(chain: string): { [chain: string]: string[] } {