We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 678b34f + 892e2b2 commit 0540103Copy full SHA for 0540103
1 file changed
client/src/pages/FAQ/FAQ.jsx
@@ -213,7 +213,7 @@ const FAQPageHeader = ({
213
return questions;
214
}
215
return questions.filter((question) => {
216
- const questionName = question.question.toLowerCase();
+ const questionName = question.question.toLowerCase() + question.answer.toLowerCase();
217
return questionName.includes(query.toLowerCase());
218
});
219
};
0 commit comments