diff --git a/src/client/features/audit/launch/LaunchFormCard.tsx b/src/client/features/audit/launch/LaunchFormCard.tsx index 2e0cea1..72997e4 100644 --- a/src/client/features/audit/launch/LaunchFormCard.tsx +++ b/src/client/features/audit/launch/LaunchFormCard.tsx @@ -132,9 +132,9 @@ function LighthouseOptions({ launchForm }: Pick) { - Include Lighthouse checks + Include Lighthouse @@ -143,27 +143,11 @@ function LighthouseOptions({ launchForm }: Pick) { > {(runLighthouse) => runLighthouse ? ( -
- Audit scope - - {(field) => ( - - )} - - - Powered by DataForSEO Lighthouse - +
+

+ We choose a sample of 20 pages to audit, removing pages from + duplicate templates. +

) : null } diff --git a/src/client/features/audit/launch/types.ts b/src/client/features/audit/launch/types.ts index ad45ca5..8fec84c 100644 --- a/src/client/features/audit/launch/types.ts +++ b/src/client/features/audit/launch/types.ts @@ -5,12 +5,10 @@ export type LaunchFormValues = { url: string; maxPagesInput: string; runLighthouse: boolean; - lighthouseMode: "auto" | "all"; }; export const DEFAULT_LAUNCH_FORM_VALUES: LaunchFormValues = { url: "", maxPagesInput: "50", runLighthouse: false, - lighthouseMode: "auto", }; diff --git a/src/client/features/audit/launch/useLaunchController.ts b/src/client/features/audit/launch/useLaunchController.ts index 724778b..7d64203 100644 --- a/src/client/features/audit/launch/useLaunchController.ts +++ b/src/client/features/audit/launch/useLaunchController.ts @@ -81,9 +81,7 @@ export function useLaunchController({ projectId, startUrl: value.url, maxPages: effectiveMaxPages, - lighthouseStrategy: value.runLighthouse - ? value.lighthouseMode - : "none", + lighthouseStrategy: value.runLighthouse ? "auto" : "none", }); toast.success("Audit started!"); onAuditStarted(result.auditId); @@ -117,7 +115,7 @@ function useLaunchMutations({ projectId: string; startUrl: string; maxPages: number; - lighthouseStrategy: "auto" | "all" | "none"; + lighthouseStrategy: "auto" | "none"; }) => startAudit({ data }), });