diff --git a/ghost/admin-x-settings/src/components/settings/membership/Analytics.tsx b/ghost/admin-x-settings/src/components/settings/membership/Analytics.tsx index 7a1e689887..53a411e40c 100644 --- a/ghost/admin-x-settings/src/components/settings/membership/Analytics.tsx +++ b/ghost/admin-x-settings/src/components/settings/membership/Analytics.tsx @@ -9,7 +9,7 @@ import {TSettingGroupStates} from '../../../admin-x-ds/settings/SettingGroup'; const Analytics: React.FC = () => { const [currentState, setCurrentState] = useState('view'); - const handleStateChange = (e: React.ChangeEvent) => { + const handleStateChange = () => { setCurrentState('unsaved'); }; @@ -57,10 +57,10 @@ const Analytics: React.FC = () => { ]} link={true} />; return ( - } - description='Decide what data you collect from your members' - state={currentState} + description='Decide what data you collect from your members' + state={currentState} title='Analytics' > {inputs}