Skip to content

Commit

Permalink
Merge branch 'main' into randombeeper-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
randombeeper authored Jul 11, 2024
2 parents 297db3f + 069a3de commit 604a920
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/website/src/components/ApplyForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,21 @@ function ApplyForm() {
if (state.status === 'succeed' && state.message) {
return (
<Card className="uil-m-auto uil-ta-center apply-form">
<Heading1 className="apply-text">Thank you!</Heading1>
<br />

{state.message.startsWith('Your DocSearch') ? (
<>
<Heading1 className="apply-text">URL Already Submitted!</Heading1>
<br />
<Text
className="uil-pv-8 uil-d-block apply-text"
aria-label="Request has already been processed"
>
{state.message}
</Text>
</>
) : (
<>
<Heading1 className="apply-text">Thank You!</Heading1>
<br />
<Text
className="uil-pv-8 uil-d-block apply-text"
aria-label="Request will be processed"
Expand Down

0 comments on commit 604a920

Please sign in to comment.