update
This commit is contained in:
@@ -85,10 +85,10 @@ import { formatDatee } from "../../../Components/FormField";
|
||||
});
|
||||
handleClose()
|
||||
}else if(res?.error?.status === 400){
|
||||
setIsLoading(false);
|
||||
toast({
|
||||
render: () => <ToastBox message={res?.error?.data?.message } status={"error"} />,
|
||||
});
|
||||
handleClose()
|
||||
}
|
||||
|
||||
|
||||
@@ -110,6 +110,7 @@ import { formatDatee } from "../../../Components/FormField";
|
||||
};
|
||||
|
||||
const handleClose = () => {
|
||||
setIsLoading(false);
|
||||
setAlert(false)
|
||||
onClose()
|
||||
reset({
|
||||
|
||||
@@ -183,6 +183,8 @@ const IONAVDetails = () => {
|
||||
<Pagination totalItems={10} />
|
||||
</HStack> */}
|
||||
|
||||
{IODetails?.isInvestedAmount ? <Button onClick={onOpen} leftIcon={<AddIcon/>} colorScheme="forestGreen" size={'sm'} rounded={'sm'} fontSize={'xs'} >Add IO Cash</Button>:null}
|
||||
|
||||
|
||||
</HStack>
|
||||
</Box>
|
||||
|
||||
@@ -108,7 +108,7 @@ const ViewIOdetails = () => {
|
||||
descriptionArabic: IObyID?.data?.descriptionArabic,
|
||||
goalAmount: removeTrailingZeros(IObyID?.data?.goalAmount),
|
||||
closingDate: IObyID?.data?.closingDate,
|
||||
holdingPeriod: IObyID?.data?.holdingPeriod,
|
||||
holdingPeriod: IObyID?.dpata?.holdingPeriod,
|
||||
ISIN: IObyID?.data?.ISIN,
|
||||
comment: IObyID?.data?.comment,
|
||||
expectedReturn: IObyID?.data?.expectedReturn,
|
||||
|
||||
Reference in New Issue
Block a user