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
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const getNextStepUrl = (opportunity: Opportunity): string => {
return `${webappUrl}recruiter/${id}/plans`;
}

return `${webappUrl}recruiter/${id}/edit`;
return `${webappUrl}recruiter/${id}/prepare`;
};

const getStateLabel = (state: OpportunityState): string => {
Expand Down Expand Up @@ -115,7 +115,7 @@ export const OpportunityCard = ({

{/* Show edit button only if paid */}
{isPaid && (
<Link href={`${webappUrl}recruiter/${id}/edit`} passHref>
<Link href={`${webappUrl}recruiter/${id}/prepare`} passHref>
<Button
tag="a"
variant={ButtonVariant.Tertiary}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import { useAutoCreateOpportunityOrganization } from '@dailydotdev/shared/src/fe
import { ErrorBoundary } from '@dailydotdev/shared/src/components/ErrorBoundary';
import RecruiterErrorFallback from '@dailydotdev/shared/src/components/errors/RecruiterErrorFallback';
import Toast from '@dailydotdev/shared/src/components/notifications/Toast';
import { webappUrl } from '@dailydotdev/shared/src/lib/constants';
import { getPathnameWithQuery } from '@dailydotdev/shared/src/lib/links';
import { useAuthContext } from '@dailydotdev/shared/src/contexts/AuthContext';
import { recruiterSeo } from '../../../next-seo';
Expand Down Expand Up @@ -59,7 +58,7 @@ const RecruiterPaymentPage = (): ReactElement => {
.filter(Boolean)
.join('&');
const link = getPathnameWithQuery(
`${webappUrl}recruiter/pay/${opportunity.id}`,
`${window.location.origin}/recruiter/pay/${opportunity.id}`,
queryParams,
);
copyLink({ link, message: 'Payment link copied to clipboard' });
Expand Down