Skip to content

Commit 604a920

Browse files
authored
Merge branch 'main' into randombeeper-patch-1
2 parents 297db3f + 069a3de commit 604a920

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

packages/website/src/components/ApplyForm.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,21 @@ function ApplyForm() {
7575
if (state.status === 'succeed' && state.message) {
7676
return (
7777
<Card className="uil-m-auto uil-ta-center apply-form">
78-
<Heading1 className="apply-text">Thank you!</Heading1>
79-
<br />
80-
8178
{state.message.startsWith('Your DocSearch') ? (
79+
<>
80+
<Heading1 className="apply-text">URL Already Submitted!</Heading1>
81+
<br />
8282
<Text
8383
className="uil-pv-8 uil-d-block apply-text"
8484
aria-label="Request has already been processed"
8585
>
8686
{state.message}
8787
</Text>
88+
</>
8889
) : (
8990
<>
91+
<Heading1 className="apply-text">Thank You!</Heading1>
92+
<br />
9093
<Text
9194
className="uil-pv-8 uil-d-block apply-text"
9295
aria-label="Request will be processed"

0 commit comments

Comments
 (0)