filtering works for multiple values

This commit is contained in:
philip-ellis-sp
2023-05-26 13:17:11 -05:00
parent abd5ffb3c8
commit 9872f6bb52
2 changed files with 12 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ export default function BlogCards({
const [cardData, setCardData] = React.useState();
const getPosts = async () => {
const data = await getBlogPosts(filterCallback);
const data = await getBlogPosts(filterCallback.join(','));
console.log(data.topics)
const resultset = []
for (const topic of data.topics) {