diff --git a/src/components/MyActiveJobs/JobActions/PastDueJobAction.jsx b/src/components/MyActiveJobs/JobActions/PastDueJobAction.jsx index 9ef169e..0d22c4f 100644 --- a/src/components/MyActiveJobs/JobActions/PastDueJobAction.jsx +++ b/src/components/MyActiveJobs/JobActions/PastDueJobAction.jsx @@ -121,7 +121,7 @@ function PastDueJobAction({jobDetails}) { Cancel or Extend Timeline @@ -133,14 +133,14 @@ function PastDueJobAction({jobDetails}) { {popUp && ( - - - + + + Past Due Task - + {setChecked(prev => !prev)}} className='w-6 h-6 text-sky-blue bg-gray-100 focus:ring-sky-blue' /> - I am ready to cancel this task + I am ready to cancel this task - + {reqStatus.loading && action=='cancel'? : - + Cancel this task } {/* EXTEND TIMELINE SECTION */} - + - Extend the timeline by: + Extend the timeline by: {setExtendedTime(target.value)}} - className='text-base p-2 text-dark-gray dark:text-white rounded-md border border-slate-300 outline-0' + className='text-base p-2 text-dark-gray dark:text-white border border-slate-300 outline-0 rounded-full' > select 1 days @@ -204,25 +204,27 @@ function PastDueJobAction({jobDetails}) { {reqStatus.loading && action=='extend' ? : - - Extend Timeline - + + + Extend Timeline + + } {/* FOR SUCCESS/ERROR DISPLAY SECTION*/} - + {reqStatus.message != "" && (!reqStatus.status ? ( {reqStatus.message} ) : ( reqStatus.status && ( {reqStatus.message} @@ -232,17 +234,17 @@ function PastDueJobAction({jobDetails}) { {/* END OF FOR SUCCESS/ERROR DISPLAY SECTION*/} - {/* cancel btn */} - - - Cancel - {/* Cancel */} - - + {/* cancel btn */} + + + Cancel + {/* Cancel */} + + )} diff --git a/src/components/MyWallet/Popup/ConfirmAddFund.jsx b/src/components/MyWallet/Popup/ConfirmAddFund.jsx index 046f02f..3b0defb 100644 --- a/src/components/MyWallet/Popup/ConfirmAddFund.jsx +++ b/src/components/MyWallet/Popup/ConfirmAddFund.jsx @@ -46,11 +46,10 @@ function ThePaymentText({ value, type }) { */ function AmountSection({ currency, amount, country }) { const formattedAmount = (+amount * 0.01)?.toFixed(2); - const gapClassName = country === "US" ? "gap-14" : "gap-4"; return ( - - + + Amount({currency}) @@ -66,11 +65,10 @@ function AmountSection({ currency, amount, country }) { */ function TransactionFeeSection({ currency, fee, country }) { const formattedFee = (+fee).toFixed(2); - const gapClass = country === "US" ? "gap-[2.7rem]" : "gap-4"; return ( - - + + Transaction Fee @@ -89,11 +87,9 @@ function TotalSection({ currency, amount, fee, country }) { const total = Number(amount) + Number(fee); const formattedTotal = (total * 0.01)?.toFixed(2); - const gap = country === "US" ? "gap-[8rem]" : "gap-[6.3rem]"; - return ( - - + + Total @@ -384,7 +380,7 @@ function ConfirmAddFund({ Payment Method @@ -397,13 +393,9 @@ function ConfirmAddFund({ )} - + Reference No
I am ready to cancel this task
Extend the timeline by: