Fix real Biome bugs: inner declarations, dup keys, assign-in-expr, implicit any, cookie, a11y svg/keyboard, json
Local Build and Deploy / deploy (push) Successful in 51s

This commit is contained in:
openhands committed 2026-07-14 18:58:40 +02:00
1 parent 8d5c8ec96f
commit 59b63d6e70
19 files changed
+76 -44

No files matched your search

+3 -1
View File
@@ -48,7 +48,9 @@ export default async function AdminHousekeeping({
.split(",")
.map((i) => Number(i.trim()))
.filter((i) => !Number.isNaN(i));
importIds.forEach((id) => selectedIds.add(id));
importIds.forEach((id) => {
selectedIds.add(id);
});
}
}
+1 -1
View File
@@ -41,7 +41,7 @@ export function PollForm({ defaultValues }: PollFormProps) {
// biome-ignore lint/suspicious/noExplicitAny: explicitly chosen here, see surrounding code
function onSubmit(data: any) {
if (isEditing) {
run(() => updatePoll({ id: defaultValues?.id!, ...data }), {
run(() => updatePoll({ id: defaultValues!.id, ...data }), {
successMessage: "Poll updated!",
});
} else {
+1 -1
View File
@@ -78,7 +78,7 @@ export default async function AdminRadioApiKeysPage() {
<Link href="/admin/radio/autodj">{t("autoDj")}</Link> ·{" "}
<Link href="/admin/radio/embed">{t("embed")}</Link> ·{" "}
<Link href="/admin/radio/points">{t("points")}</Link> ·{" "}
<Link href="/admin/radio/monitoring">{t("monitoring")}</Link>
<Link href="/admin/radio/monitoring">{t("monitoring.title")}</Link>
</nav>
<section className="mt-6">
+1 -1
View File
@@ -137,7 +137,7 @@ export default async function AdminRadioAutoDjPage() {
htmlFor="new_title"
style={{ display: "block", fontWeight: 700 }}
>
{t("autoDjForm.title")}
{t("autoDjForm.trackTitle")}
</label>
<input
id="new_title"