diff --git a/apps/client/src/contexts/ProfileProvider.tsx b/apps/client/src/contexts/ProfileProvider.tsx index 746fdb8..cbf4b1a 100644 --- a/apps/client/src/contexts/ProfileProvider.tsx +++ b/apps/client/src/contexts/ProfileProvider.tsx @@ -17,8 +17,6 @@ interface Profile { phone: string | null; address: string | null; postalCode: string | null; - city: string | null; - country: string | null; website: string | null; linkedInUrl: string | null; summary: string | null; diff --git a/apps/client/src/features/onboarding/components/PersonalProfileStep.tsx b/apps/client/src/features/onboarding/components/PersonalProfileStep.tsx index dd8fe42..4972fe2 100644 --- a/apps/client/src/features/onboarding/components/PersonalProfileStep.tsx +++ b/apps/client/src/features/onboarding/components/PersonalProfileStep.tsx @@ -22,8 +22,6 @@ export const PersonalProfileStep = ({ onComplete, onSkip }: Props) => { fullName: profile.fullName ?? "", headline: profile.headline ?? "", phone: profile.phone ?? "", - city: profile.city ?? "", - country: profile.country ?? "", website: profile.website ?? "", linkedInUrl: profile.linkedInUrl ?? "", summary: profile.summary ?? "", diff --git a/apps/client/src/features/onboarding/mutations/create-profile.graphql b/apps/client/src/features/onboarding/mutations/create-profile.graphql index 5529504..9bda130 100644 --- a/apps/client/src/features/onboarding/mutations/create-profile.graphql +++ b/apps/client/src/features/onboarding/mutations/create-profile.graphql @@ -7,8 +7,6 @@ mutation CreateProfile($input: CreateProfileInput!) { phone address postalCode - city - country website linkedInUrl summary diff --git a/apps/client/src/features/onboarding/mutations/update-profile.graphql b/apps/client/src/features/onboarding/mutations/update-profile.graphql index ed2e2cd..de32ff0 100644 --- a/apps/client/src/features/onboarding/mutations/update-profile.graphql +++ b/apps/client/src/features/onboarding/mutations/update-profile.graphql @@ -7,8 +7,6 @@ mutation UpdateProfile($id: ID!, $input: UpdateProfileInput!) { phone address postalCode - city - country website linkedInUrl summary diff --git a/apps/client/src/features/onboarding/queries/my-profiles.graphql b/apps/client/src/features/onboarding/queries/my-profiles.graphql index 5d42d76..ed6aefd 100644 --- a/apps/client/src/features/onboarding/queries/my-profiles.graphql +++ b/apps/client/src/features/onboarding/queries/my-profiles.graphql @@ -7,8 +7,6 @@ query MyProfiles { phone address postalCode - city - country website linkedInUrl summary diff --git a/apps/client/src/features/onboarding/queries/profile.graphql b/apps/client/src/features/onboarding/queries/profile.graphql index 1bf0381..8ea5fe3 100644 --- a/apps/client/src/features/onboarding/queries/profile.graphql +++ b/apps/client/src/features/onboarding/queries/profile.graphql @@ -7,8 +7,6 @@ query Profile($id: ID!) { phone address postalCode - city - country website linkedInUrl summary diff --git a/apps/client/src/features/profile/components/PersonalProfileForm.tsx b/apps/client/src/features/profile/components/PersonalProfileForm.tsx index 8cdba5e..9680f2c 100644 --- a/apps/client/src/features/profile/components/PersonalProfileForm.tsx +++ b/apps/client/src/features/profile/components/PersonalProfileForm.tsx @@ -33,8 +33,6 @@ export const PersonalProfileForm = ({ phone: initialData?.phone ?? "", address: initialData?.address ?? "", postalCode: initialData?.postalCode ?? "", - city: initialData?.city ?? "", - country: initialData?.country ?? "", website: initialData?.website ?? "", linkedInUrl: initialData?.linkedInUrl ?? "", summary: initialData?.summary ?? "", @@ -71,8 +69,6 @@ export const PersonalProfileForm = ({ phone: form.phone || undefined, address: form.address || undefined, postalCode: form.postalCode || undefined, - city: form.city || undefined, - country: form.country || undefined, website: form.website || undefined, linkedInUrl: form.linkedInUrl || undefined, summary: form.summary || undefined, @@ -114,25 +110,6 @@ export const PersonalProfileForm = ({ autoComplete="organization-title" /> -