diff --git a/assets/js/modules/ads/components/settings/SettingsView.js b/assets/js/modules/ads/components/settings/SettingsView.js index a9b878c9a82..b8880fb0cc0 100644 --- a/assets/js/modules/ads/components/settings/SettingsView.js +++ b/assets/js/modules/ads/components/settings/SettingsView.js @@ -68,6 +68,9 @@ export default function SettingsView() { ); const isFPMEnabled = useSelect( ( select ) => { + if ( ! fpmEnabled ) { + return false; + } const { isFirstPartyModeEnabled, isFPMHealthy, isScriptAccessEnabled } = select( CORE_SITE );