[offers][chore] fix analysis description (#550)

pull/551/head
Zhang Ziqing 2 years ago committed by GitHub
parent b7d1cef759
commit b99c547c41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -37,7 +37,8 @@ function OfferAnalysisContent({
return (
<Alert title="Insufficient data to compare with" variant="info">
You are among the first to submit an offer for your job title and
years of experience! Check back later when there are more submissions.
years of experience in your location! Check back later when there are
more submissions.
</Alert>
);
}
@ -45,8 +46,8 @@ function OfferAnalysisContent({
return (
<Alert title="Insufficient data to compare with" variant="info">
You are among the first to submit an offer for this company, job title
and years of experience! Check back later when there are more
submissions.
and years of experience in your location! Check back later when there
are more submissions.
</Alert>
);
}

@ -18,14 +18,14 @@ export default function OfferPercentileAnalysisText({
{isSubmission ? 'Your' : "This profile's"} highest offer is from{' '}
<b>{companyName}</b>, which is <b>{percentile.toFixed(1)}</b> percentile
out of <b>{noOfOffers}</b> offers received for the same job title and
YOE(±1) in the last year.
YOE(±1) in the last year in the same location.
</p>
) : (
<p>
{isSubmission ? 'Your' : 'The'} offer from <b>{companyName}</b> is{' '}
<b>{percentile.toFixed(1)}</b> percentile out of <b>{noOfOffers}</b>{' '}
offers received in {companyName} for the same job title and YOE(±1) in the
last year.
last year in the same location.
</p>
);
}
}

Loading…
Cancel
Save