Fix a couple linting issues (#1565)

This commit is contained in:
Emma Segal-Grossman 2024-03-11 19:20:37 -04:00 committed by GitHub
parent 548261e663
commit 8462c08206
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 10 deletions

View File

@ -101,15 +101,7 @@ export class Button extends TailwindElement {
}
if (this.type === "submit") {
this.submit();
}
}
private submit() {
const form = (this.closest("form") || this.closest("form"))!;
if (form) {
form.submit();
this.closest("form")?.submit();
}
}
}

View File

@ -28,7 +28,7 @@ export type SeedConfig = Expand<
pageExtraDelay: number | null;
behaviors?: string | null;
extraHops?: number | null;
useSitemap: boolean;
useSitemap?: boolean;
failOnFailedSeed?: boolean;
depth?: number | null;
userAgent?: string | null;