-
+
+
+
+
+
+
+ Filter by
+
+ {
+ if (checked) {
+ setSelectedCompanies((prev) => [...prev, optionValue]);
+ } else {
+ setSelectedCompanies((prev) =>
+ prev.filter((company) => company !== optionValue),
+ );
+ }
+ }}
+ />
+ {
+ if (checked) {
+ setSelectedQuestionTypes((prev) => [...prev, optionValue]);
+ } else {
+ setSelectedQuestionTypes((prev) =>
+ prev.filter((questionType) => questionType !== optionValue),
+ );
+ }
+ }}
+ />
+ {
+ if (checked) {
+ setSelectedQuestionAges((prev) => [...prev, optionValue]);
+ } else {
+ setSelectedQuestionAges((prev) =>
+ prev.filter((questionAge) => questionAge !== optionValue),
+ );
+ }
+ }}
+ />
+ {
+ if (checked) {
+ setSelectedLocations((prev) => [...prev, optionValue]);
+ } else {
+ setSelectedLocations((prev) =>
+ prev.filter((location) => location !== optionValue),
+ );
+ }
+ }}
+ />
+
+
+
+
+
+ {
+ // eslint-disable-next-line no-console
+ console.log(data);
+ }}
+ />
+
+
+
+
+
);
diff --git a/packages/ui/src/Collapsible/Collapsible.tsx b/packages/ui/src/Collapsible/Collapsible.tsx
index 93e5ba10..211c54fd 100644
--- a/packages/ui/src/Collapsible/Collapsible.tsx
+++ b/packages/ui/src/Collapsible/Collapsible.tsx
@@ -23,7 +23,7 @@ export default function Collapsible({ children, defaultOpen, label }: Props) {
/>
{label}
-
+
{children}
>