-
Beta Was this translation helpful? Give feedback.
Answered by
tadinski
Jul 3, 2022
Replies: 0 comments 1 reply
-
Answering my own question here.
Here's an example |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tadinski
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Answering my own question here.
refine
function works differently than how I understood it did at first.It can only accept one attribute at a time. To apply multiple attributes, you have to pass OR operator property to useRefinementList hook.
Here's an example
https://codesandbox.io/s/hooks-example-kjsnn?file=/components/RefinementList.tsx