diff --git a/src/apps/copilots/src/pages/copilot-opportunity-details/apply-opportunity-modal/ApplyOpportunityModal.tsx b/src/apps/copilots/src/pages/copilot-opportunity-details/apply-opportunity-modal/ApplyOpportunityModal.tsx index b52e92447..24473fefa 100644 --- a/src/apps/copilots/src/pages/copilot-opportunity-details/apply-opportunity-modal/ApplyOpportunityModal.tsx +++ b/src/apps/copilots/src/pages/copilot-opportunity-details/apply-opportunity-modal/ApplyOpportunityModal.tsx @@ -10,7 +10,6 @@ import styles from './styles.module.scss' interface ApplyOpportunityModalProps { onClose: () => void copilotOpportunityId: number - projectName: string onApplied: () => void } @@ -66,10 +65,10 @@ const ApplyOpportunityModal: FC = props => { We truly value your interest and effort. Your application will be reviewed promptly.` : `We're excited to see your interest in joining our team as a copilot - for the "${props.projectName}" project! Before we proceed, we want to - ensure that you have carefully reviewed the project requirements and + for this opportunity! Before we proceed, we want to + ensure that you have carefully reviewed the opportunity requirements and are committed to meeting them. Please write below the reason(s) - why you believe you're a good fit for this project + why you believe you're a good fit for this opportunity (e.g., previous experience, availability, etc.).` } diff --git a/src/apps/copilots/src/pages/copilot-opportunity-details/index.tsx b/src/apps/copilots/src/pages/copilot-opportunity-details/index.tsx index d07f5aa23..36dbe627a 100644 --- a/src/apps/copilots/src/pages/copilot-opportunity-details/index.tsx +++ b/src/apps/copilots/src/pages/copilot-opportunity-details/index.tsx @@ -303,7 +303,6 @@ const CopilotOpportunityDetails: FC<{}> = () => { ) diff --git a/src/apps/copilots/src/pages/copilot-request-form/index.tsx b/src/apps/copilots/src/pages/copilot-request-form/index.tsx index 648630d99..87f9f0c0a 100644 --- a/src/apps/copilots/src/pages/copilot-request-form/index.tsx +++ b/src/apps/copilots/src/pages/copilot-request-form/index.tsx @@ -13,6 +13,7 @@ import { getProject, getProjects, ProjectsResponse, useProjects } from '../../se import { ProjectTypes, ProjectTypeValues } from '../../constants' import { CopilotRequestResponse, saveCopilotRequest, useCopilotRequest } from '../../services/copilot-requests' import { Project } from '../../models/Project' +import { rootRoute } from '../../copilots.routes' import styles from './styles.module.scss' @@ -321,7 +322,7 @@ const CopilotRequestForm: FC<{}> = () => { setPaymentType('') // Added a small timeout for the toast to be visible properly to the users setTimeout(() => { - navigate('/requests') + navigate(`${rootRoute}/requests`) }, 1000) }) .catch(e => {