import React from 'react'; import FilePrice from 'component/filePrice'; import { Modal } from 'modal/modal'; class ModalAffirmPurchase extends React.PureComponent { onAffirmPurchase() { this.props.closeModal(); this.props.loadVideo(this.props.uri); } render() { const { cancelPurchase, metadata: { title }, uri } = this.props; return ( {__('This will purchase')} {title} {__('for')}{' '} {' '} {__('credits')}. ); } } export default ModalAffirmPurchase;