Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions js/src/features/sign-up/components/SignUpForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { memberProfileSchema } from "@/features/member-profile/api/schemas";
import { MemberProfileValues } from "@/features/member-profile/types";
import {
INDUSTRIES,
MATCHING_PREFERENCES,
MATCH_PREFS,
} from "@/features/sign-up/components/signUpFormConfig";
import {
Alert,
Expand All @@ -20,7 +20,7 @@ import {
import { useState } from "react";

// Options for select fields. Defined in SignUpFormConfig
const matchingPreferenceOptions = MATCHING_PREFERENCES.map((v) => ({
const matchPrefOptions = MATCH_PREFS.map((v) => ({
value: v,
label: v,
}));
Expand Down Expand Up @@ -218,7 +218,7 @@ export function SignUpForm() {
<Select
label="Matching Preference"
placeholder="No Preference"
data={matchingPreferenceOptions}
data={matchPrefOptions}
value={values.matchPref}
onChange={(value) =>
handleFieldChange(
Expand Down
2 changes: 1 addition & 1 deletion js/src/features/sign-up/components/signUpFormConfig.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const MATCHING_PREFERENCES = [
export const MATCH_PREFS = [
"Mentor - I am looking for guidance from someone with more experience",
"Mentee - I am looking to provide guidance to someone with less experience",
"Peer - I am looking for someone at a similar level",
Expand Down
Loading