Skip to content

How to filter out deprecated packages? #159

Closed
@KyleAMathews

Description

@KyleAMathews

I already have one <RefinementList> for specifying Gatsby's keywords. I tried adding another one to filter deprecated packages <RefinementList attributeName="deprecated" defaultRefinement={[false]} />

This caused this error: Warning: Failed prop type: Invalid prop defaultRefinement[0] supplied to "AlgoliaRefinementList(Translatable(RefinementList))"

I tried putting false in quotes but then no packages were returned.

I'm using react-instantsearch@4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions