/** * External dependencies */ import { __ } from '@wordpress/i18n'; import { recordEvent } from '@woocommerce/tracks'; import { useEffect } from '@wordpress/element'; interface WrongUserConnectedPageProps { wordpressAccountEmailAddress?: string | undefined; } export const WrongUserConnectedPage: React.FC< WrongUserConnectedPageProps > = () => { useEffect( () => { recordEvent( 'magic_prompt_mismatched_wpcom_user_view' ); }, [] ); // The user may see this screen if he clicks on the additional task and there is already another wpcom user connected to this site. return (