tests-passed
This commit is contained in:
@@ -101,7 +101,7 @@ const CollectionsRoute: Component<CollectionsRouteProps> = (props) => {
|
||||
}
|
||||
|
||||
const lowerQuery = query.toLowerCase()
|
||||
const filtered = allCollections.filter(
|
||||
const filtered = allCollections.where(
|
||||
(collection) =>
|
||||
collection.title.toLowerCase().includes(lowerQuery) ||
|
||||
collection.slug.toLowerCase().includes(lowerQuery) ||
|
||||
|
Reference in New Issue
Block a user