aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(static)/support
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/(static)/support')
-rw-r--r--src/routes/(static)/support/+page.svelte9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/routes/(static)/support/+page.svelte b/src/routes/(static)/support/+page.svelte
index 6b32124e..062f552b 100644
--- a/src/routes/(static)/support/+page.svelte
+++ b/src/routes/(static)/support/+page.svelte
@@ -24,7 +24,7 @@
grecaptcha.execute(recaptchaSiteKey, { action: "submit" }).then((token) =>
post("/support", { username: user?.username, email, message, token })
.then(() => (sent = true))
- .catch(() => fail("problem submitting"))
+ .catch(() => fail("problem submitting")),
);
});
};
@@ -97,12 +97,7 @@
<label for="email" class="font-semibold"
>{$t("user.support.email")}</label
>
- <input
- type="email"
- name="email"
- bind:value={email}
- required
- />
+ <input type="email" name="email" bind:value={email} required />
</div>
<div class="mb-4">