diff --git a/docs/platforms/php/index.mdx b/docs/platforms/php/index.mdx index 1d149bbc7ffc9..668573a3342b9 100644 --- a/docs/platforms/php/index.mdx +++ b/docs/platforms/php/index.mdx @@ -26,7 +26,7 @@ categories: }, { id: 'performance', - checked: true, + checked: false, }, { id: 'profiling', diff --git a/src/components/onboarding/index.tsx b/src/components/onboarding/index.tsx index 5b95c846b7eef..7ce4465f99eef 100644 --- a/src/components/onboarding/index.tsx +++ b/src/components/onboarding/index.tsx @@ -127,7 +127,12 @@ export function OnboardingOptionButtons({ }) { const normalizedOptions = initialOptions.map(option => { if (typeof option === 'string') { - return {id: option, disabled: option === 'error-monitoring'}; + return { + id: option, + // error monitoring is always needs to be checked and disabled + disabled: option === 'error-monitoring', + checked: option === 'error-monitoring', + }; } return option; }); @@ -137,8 +142,8 @@ export function OnboardingOptionButtons({ const [options, setSelectedOptions] = useState( normalizedOptions.map(option => ({ ...option, - // default to checked if not excplicitly set - checked: option.checked ?? true, + // default to unchecked if not excplicitly set + checked: option.checked ?? false, })) ); const [touchedOptions, touchOptions] = useReducer(() => true, false);