Filter schools
@@ -57,7 +58,6 @@ export const FilterModal = ({ closeHandler }: Props) => {
label="State"
required={false}
options={stateOptions}
- registerField={form.register}
/>
@@ -70,7 +70,6 @@ export const FilterModal = ({ closeHandler }: Props) => {
{ id: CollegeType.PRIVATE_NP, label: CollegeType.PRIVATE_NP },
{ id: CollegeType.PRIVATE_FP, label: CollegeType.PRIVATE_FP },
]}
- registerField={form.register}
/>
@@ -85,7 +84,6 @@ export const FilterModal = ({ closeHandler }: Props) => {
{ id: "10-20", label: "10,000 - 20,000" },
{ id: ">20", label: "20,000 +" },
]}
- registerField={form.register}
/>
@@ -99,7 +97,6 @@ export const FilterModal = ({ closeHandler }: Props) => {
{ id: "30-60", label: "30% - 60%" },
{ id: "<30", label: "Less than 30%" },
]}
- registerField={form.register}
/>
@@ -108,13 +105,12 @@ export const FilterModal = ({ closeHandler }: Props) => {
id="filter-avg-cost-per-year"
name="filter-avg-cost-per-year"
options={[
- { id: "<10", label: "Less than $10,000" },
- { id: "10-20", label: "$10,000 - $20,000" },
- { id: "20-40", label: "$20,000 - $40,000" },
- { id: "40-60", label: "$40,000 - $60,000" },
- { id: ">60", label: "More than $60,000" },
+ { id: "<10$", label: "Less than $10,000" },
+ { id: "10-20$", label: "$10,000 - $20,000" },
+ { id: "20-40$", label: "$20,000 - $40,000" },
+ { id: "40-60$", label: "$40,000 - $60,000" },
+ { id: ">60$", label: "More than $60,000" },
]}
- registerField={form.register}
/>
@@ -146,7 +142,7 @@ export const FilterModal = ({ closeHandler }: Props) => {
/>
-