diff --git a/src/shared/components/Gigs/GigApply/index.jsx b/src/shared/components/Gigs/GigApply/index.jsx index 05426e1781..bcd84a6782 100644 --- a/src/shared/components/Gigs/GigApply/index.jsx +++ b/src/shared/components/Gigs/GigApply/index.jsx @@ -28,8 +28,6 @@ export default function GigApply(props) { recruitProfile, } = props; const retUrl = window.location.href; - const signupRetUrl = `${config.PLATFORM_SITE_URL}/onboard`; - const duration = getCustomField(job.custom_fields, 'Duration'); const isPlaced = _.find(_.isEmpty(recruitProfile) ? [] : recruitProfile.custom_fields, { field_id: 12 }); @@ -328,7 +326,7 @@ export default function GigApply(props) {
Not a member? Register here.
+Not a member? Register here.
diff --git a/src/shared/components/Gigs/LoginModal/index.jsx b/src/shared/components/Gigs/LoginModal/index.jsx index 9d4062aa75..47c1124533 100644 --- a/src/shared/components/Gigs/LoginModal/index.jsx +++ b/src/shared/components/Gigs/LoginModal/index.jsx @@ -30,9 +30,7 @@ const progressBarMid = 'https://images.ctfassets.net/b5f1djy59z3a/517ZRt9geweW3Q const progressBarXS = 'https://images.ctfassets.net/b5f1djy59z3a/6QxH7uVKCngtzBaXDn3Od1/3e0222a1ce773cead3f3a45f291f43a6/progress-bar-mobile.svg'; const blobPurple = 'https://images.ctfassets.net/b5f1djy59z3a/1ZRCwp1uoShcES16lQmeu/ba084734120ffedebcb92b4e3fa2d667/blob-purple.svg'; -function LoginModal({ - retUrl, signupRetUrl, onCancel, utmSource, -}) { +function LoginModal({ retUrl, onCancel, utmSource }) { return (Find out how the referral program works here.
diff --git a/src/shared/components/LoginModal/index.jsx b/src/shared/components/LoginModal/index.jsx index ad2c1d3413..b68d2170fc 100644 --- a/src/shared/components/LoginModal/index.jsx +++ b/src/shared/components/LoginModal/index.jsx @@ -21,7 +21,6 @@ const buttonThemes = { function LoginModal({ onCancel, retUrl, - signupRetUrl, utmSource, modalTitle, modalText, @@ -46,7 +45,7 @@ function LoginModal({ > LOGIN - REGISTER + REGISTER {infoNode} @@ -57,13 +56,11 @@ function LoginModal({ LoginModal.defaultProps = { utmSource: null, infoNode: null, - signupRetUrl: `${config.PLATFORM_SITE_URL}/onboard`, }; LoginModal.propTypes = { onCancel: PT.func.isRequired, retUrl: PT.string.isRequired, - signupRetUrl: PT.string, utmSource: PT.string, modalTitle: PT.string.isRequired, modalText: PT.string.isRequired,