Your privacy is our priority.
-
- All offer profiles are anonymised and we do not store information
+
+ All offer profiles are anonymized and we do not store information
about your personal identity.
@@ -185,7 +185,7 @@ export default function LandingPage() {
{feature.name}
-
+
{feature.description}
@@ -200,14 +200,14 @@ export default function LandingPage() {
Ready to get started?
-
+
Create your own offer profile today.
diff --git a/apps/portal/src/pages/offers/profile/[offerProfileId].tsx b/apps/portal/src/pages/offers/profile/[offerProfileId].tsx
index e90d8f77..8933112c 100644
--- a/apps/portal/src/pages/offers/profile/[offerProfileId].tsx
+++ b/apps/portal/src/pages/offers/profile/[offerProfileId].tsx
@@ -10,6 +10,7 @@ import type {
BackgroundDisplayData,
OfferDisplayData,
} from '~/components/offers/types';
+import { HOME_URL } from '~/components/offers/types';
import type { JobTitleType } from '~/components/shared/JobTitles';
import { getLabelForJobTitleType } from '~/components/shared/JobTitles';
@@ -46,7 +47,7 @@ export default function OfferProfile() {
enabled: typeof offerProfileId === 'string',
onSuccess: (data: Profile) => {
if (!data) {
- router.push('/offers/home');
+ router.push(HOME_URL);
}
// If the profile is not editable with a wrong token, redirect to the profile page
if (!data?.isEditable && token !== '') {
@@ -148,7 +149,7 @@ export default function OfferProfile() {
},
onSuccess: () => {
trpcContext.invalidateQueries(['offers.profile.listOne']);
- router.push('/offers/home');
+ router.push(HOME_URL);
showToast({
title: `Offers profile successfully deleted!`,
variant: 'success',
diff --git a/apps/portal/src/pages/resumes/submit.tsx b/apps/portal/src/pages/resumes/submit.tsx
index c851cafa..7901056b 100644
--- a/apps/portal/src/pages/resumes/submit.tsx
+++ b/apps/portal/src/pages/resumes/submit.tsx
@@ -86,10 +86,16 @@ export default function SubmitResumeForm({
setValue,
reset,
watch,
+ clearErrors,
formState: { errors, isDirty, dirtyFields },
} = useForm
({
defaultValues: {
+ additionalInfo: '',
+ experience: '',
isChecked: false,
+ location: '',
+ role: '',
+ title: '',
...initFormDetails,
},
});
@@ -296,7 +302,7 @@ export default function SubmitResumeForm({
options={ROLES}
placeholder=" "
required={true}
- onChange={(val) => setValue('role', val)}
+ onChange={(val) => onValueChange('role', val)}
/>