|
|
@ -194,18 +194,6 @@ export default function QuestionsBrowsePage() {
|
|
|
|
const [loaded, setLoaded] = useState(false);
|
|
|
|
const [loaded, setLoaded] = useState(false);
|
|
|
|
const [filterDrawerOpen, setFilterDrawerOpen] = useState(false);
|
|
|
|
const [filterDrawerOpen, setFilterDrawerOpen] = useState(false);
|
|
|
|
|
|
|
|
|
|
|
|
// Const [selectedCompanyOptions, setSelectedCompanyOptions] = useState<
|
|
|
|
|
|
|
|
// Array<FilterOption>
|
|
|
|
|
|
|
|
// >([]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// const [selectedRoleOptions, setSelectedRoleOptions] = useState<
|
|
|
|
|
|
|
|
// Array<FilterOption>
|
|
|
|
|
|
|
|
// >([]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// const [selectedLocationOptions, setSelectedLocationOptions] = useState<
|
|
|
|
|
|
|
|
// Array<FilterOption>
|
|
|
|
|
|
|
|
// >([]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const questionTypeFilterOptions = useMemo(() => {
|
|
|
|
const questionTypeFilterOptions = useMemo(() => {
|
|
|
|
return QUESTION_TYPES.map((questionType) => ({
|
|
|
|
return QUESTION_TYPES.map((questionType) => ({
|
|
|
|
...questionType,
|
|
|
|
...questionType,
|
|
|
@ -320,9 +308,6 @@ export default function QuestionsBrowsePage() {
|
|
|
|
setSelectedQuestionAge('all');
|
|
|
|
setSelectedQuestionAge('all');
|
|
|
|
setSelectedRoles([]);
|
|
|
|
setSelectedRoles([]);
|
|
|
|
setSelectedLocations([]);
|
|
|
|
setSelectedLocations([]);
|
|
|
|
// SetSelectedCompanyOptions([]);
|
|
|
|
|
|
|
|
// setSelectedRoleOptions([]);
|
|
|
|
|
|
|
|
// setSelectedLocationOptions([]);
|
|
|
|
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<FilterSection
|
|
|
|
<FilterSection
|
|
|
|