import React, {useState} from 'react' import RecentActivityTable from './WalletComponent/RecentActivityTable' import LoadingSpinner from '../Spinners/LoadingSpinner' import { useNavigate } from 'react-router-dom' function AddFund({payment}) { const navigate = useNavigate() //STATE FOR CONTROLLED INPUT let [input, setInput] = useState('0') let [inputError, setInputError] = useState('') // FUNCTION TO HANDLE INPUT CHANGE const handleChange = ({target:{name, value}}) => { setInput(value) } //FUNCTION TO HANDLE SUBMIT const handleSubmit = () => { setInputError('') if(!input || input == '0'){ setInputError('Please Enter Amount') return } if(isNaN(input)){ setInputError('Amount must be a Number') return } const stateData = {amount: Number(input)} navigate('confirm-add-fund', {state: stateData}) setInput('') } return (

Add Credit with Account Deposit


{inputError &&

{inputError}

}

Add Credit with Account Deposit


Transfer fund to WrenchBoard GTB Account 0250869867

Make sure you add your account username in the notes part of the transfer for prompt processing. When the transfer is complete notify here Contact us

Recent Activity

{/*

Activity Report

*/} {payment.loading ? : }
) } export default AddFund