diff --git a/client/me/account/main.jsx b/client/me/account/main.jsx index 6fab3e79136417..aebd90564adb9f 100644 --- a/client/me/account/main.jsx +++ b/client/me/account/main.jsx @@ -52,7 +52,7 @@ import { import { isFetchingUserSettings } from 'calypso/state/user-settings/selectors'; import { saveUnsavedUserSettings } from 'calypso/state/user-settings/thunks'; import AccountSettingsCloseLink from './close-link'; -import ToggleSitesAsLandingPage from './toggle-sites-as-landing-page'; +import ToggleLandingPageSettings from './toggle-landing-page'; import ToggleUseCommunityTranslator from './toggle-use-community-translator'; import './style.scss'; @@ -957,9 +957,14 @@ class Account extends Component { - { translate( 'Admin home' ) } + { translate( 'Default screen' ) } - + + + { translate( + 'When you type https://www.wordpress.com in your browser, this is the page you land on.' + ) } + diff --git a/client/me/account/toggle-landing-page.tsx b/client/me/account/toggle-landing-page.tsx index 8779b658a443bc..e8734ecfd51afe 100644 --- a/client/me/account/toggle-landing-page.tsx +++ b/client/me/account/toggle-landing-page.tsx @@ -25,7 +25,7 @@ function ToggleLandingPageSettings() { return 'default'; }; - async function handlePreferenceChange( selectedOption ) { + async function handlePreferenceChange( selectedOption: string ) { const preference = { landingPage: selectedOption, updatedAt: Date.now() }; const preferenceKey = selectedOption === 'my-sites' ? 'sites-landing-page' : 'reader-landing-page'; @@ -50,12 +50,11 @@ function ToggleLandingPageSettings() { return (