Fox submit button edge case
This commit is contained in:
+12
-5
@@ -111,8 +111,8 @@ export default function Apply() {
|
|||||||
error={
|
error={
|
||||||
isValidPassword
|
isValidPassword
|
||||||
? t("application.personal.password.error", {
|
? t("application.personal.password.error", {
|
||||||
username: getRandomUsername()
|
username: getRandomUsername()
|
||||||
})
|
})
|
||||||
: ""
|
: ""
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
@@ -309,10 +309,17 @@ export default function Apply() {
|
|||||||
</InputWrapper>
|
</InputWrapper>
|
||||||
</Section>
|
</Section>
|
||||||
|
|
||||||
<Button type="submit" className="self-center text-4xl p-6">
|
<Button
|
||||||
<a href="#submitted" onClick={() => setSubmitSpinner(true)}>{t("application.submit.button")}</a>
|
type="submit"
|
||||||
{submitSpinner && <Spinner data-icon="inline-start" />}
|
className="self-center text-4xl p-6"
|
||||||
|
onClick={() => {
|
||||||
|
window.location.hash = "submitted";
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{t("application.submit.button")}
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user