This commit is contained in:
2024-08-17 20:38:06 +05:30
parent 620b365437
commit 6e4c794d2b
2 changed files with 5 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
import {
Badge,
Box,
Button,
FormControl,
@@ -137,7 +138,7 @@ const DepositRequestApprove = ({ isOpen, onClose, firstField, id, data:requestDa
<Box as="form" onSubmit={handleSubmit(onSubmit)}>
<ModalBody>
<FormControl mb={4} isRequired>
<FormLabel fontSize="sm">Deposit Amount (SAR)</FormLabel>
<FormLabel fontSize="sm">Deposit Amount <Badge colorScheme="green">{fileredData?.currencyCode}</Badge></FormLabel>
<Input
focusBorderColor="green.400"
name="investorAmount"

View File

@@ -113,7 +113,9 @@ const AddCashDetails = ({ isOpen, onClose, firstField, actionId, setActionId, da
const handleClose = () => {
setAlert(false)
onClose()
reset()
reset({
transactionAmount:""
})
}
return (