You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
524 B

// @flow
import React, { PureComponent } from 'react'
import { MODAL_SEND } from 'config/constants'
import Modal from 'components/base/Modal'
import SendModalBody from './SendModalBody'
class SendModal extends PureComponent<{}> {
render() {
return (
<Modal
name={MODAL_SEND}
preventBackdropClick
render={({ data, onClose }) => (
<SendModalBody {...this.props} initialAccount={data && data.account} onClose={onClose} />
)}
/>
)
}
}
export default SendModal