Fix a couple linting issues (#1565)
This commit is contained in:
parent
548261e663
commit
8462c08206
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user