import { localize } from 'i18n-calypso'; import PushNotificationApprovalPoller from './push-notification-approval-poller'; import SecurityKeyForm from './security-key-form'; import VerificationCodeForm from './verification-code-form'; import WaitingTwoFactorNotificationApproval from './waiting-notification-approval'; function TwoFactorContent( { handleValid2FACode, isBrowserSupported, switchTwoFactorAuthType, twoFactorAuthType, twoFactorNotificationSent, rebootAfterLogin, isGravPoweredClient, translate, } ) { if ( twoFactorAuthType === 'webauthn' && isBrowserSupported ) { return (