import { Card } from '@automattic/components'; import { localize } from 'i18n-calypso'; import { get } from 'lodash'; import PropTypes from 'prop-types'; import { Component } from 'react'; import { connect } from 'react-redux'; import RewindCredentialsForm from 'calypso/components/rewind-credentials-form'; import SectionHeader from 'calypso/components/section-header'; import StepWrapper from 'calypso/signup/step-wrapper'; import getJetpackCredentialsUpdateStatus from 'calypso/state/selectors/get-jetpack-credentials-update-status'; import getRewindState from 'calypso/state/selectors/get-rewind-state'; import { submitSignupStep } from 'calypso/state/signup/progress/actions'; import './style.scss'; class CloneCredentialsStep extends Component { static propTypes = { flowName: PropTypes.string, goToNextStep: PropTypes.func.isRequired, positionInFlow: PropTypes.number, stepName: PropTypes.string, signupDependencies: PropTypes.object, }; goToNextStep = () => { this.props.submitSignupStep( { stepName: this.props.stepName }, { roleName: 'alternate' } ); this.props.goToNextStep(); }; renderStepContent() { const { destinationSiteName, destinationSiteUrl, originBlogId, translate } = this.props; return (