import React, {useEffect} from 'react'; import {Alert, NativeEventEmitter} from 'react-native'; import DepositView from './DepositView'; const Deposit = (props) => { const {method, userId} = props.route.params; return <DepositView urlCheckout={method.checkout_url + '/' + userId} />; }; export default Deposit;