Skip to content

Commit

Permalink
use designation
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-justin committed Jan 24, 2025
1 parent 07e4a7b commit b62706c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/Registration/Steps/OrgDetails/Form/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { orgRoles } from "@better-giving/registration/models";
import { orgDesignations } from "@better-giving/schemas";
import { Link } from "@remix-run/react";
import countries from "assets/countries/all.json";
import ActivityCountries from "components/ActivityCountries";
Expand Down Expand Up @@ -46,9 +46,9 @@ export default function Form({ data }: RegStep2) {
<Selector<FV, "designation", string>
name="designation"
classes={{ options: "text-sm" }}
options={orgRoles.map((role) => ({
label: role,
value: role,
options={orgDesignations.map((v) => ({
label: v,
value: v,
}))}
/>
<Label className="mt-6 mb-2" required>
Expand Down

0 comments on commit b62706c

Please sign in to comment.