diff --git a/src/components/AddJob/AddJob.jsx b/src/components/AddJob/AddJob.jsx index a994dd7..d13ddf2 100644 --- a/src/components/AddJob/AddJob.jsx +++ b/src/components/AddJob/AddJob.jsx @@ -167,7 +167,7 @@ function AddJob({ popUpHandler, categories }) { onChange={props.handleChange} onBlur={props.handleBlur} > - {walletDetails.loading ? ( + {walletDetails?.loading ? ( @@ -400,7 +400,7 @@ function AddJob({ popUpHandler, categories }) { - {requestStatus.loading ? ( + {requestStatus?.loading ? ( ) : ( - {familyTask.loading ? ( + {familyTask?.loading ? (
diff --git a/src/components/FamilyAcc/FamilyPopout/forms/NewTasks.jsx b/src/components/FamilyAcc/FamilyPopout/forms/NewTasks.jsx index 5c2b0fa..26341f5 100644 --- a/src/components/FamilyAcc/FamilyPopout/forms/NewTasks.jsx +++ b/src/components/FamilyAcc/FamilyPopout/forms/NewTasks.jsx @@ -69,7 +69,7 @@ export default function NewTasks({ formState, setFormState }) { onChange={handleInputChange} // onBlur={props.handleBlur} > - {currency.loading ? ( + {currency?.loading ? ( diff --git a/src/components/Helpers/Icons.jsx b/src/components/Helpers/Icons.jsx index bb54399..2b2fb0c 100644 --- a/src/components/Helpers/Icons.jsx +++ b/src/components/Helpers/Icons.jsx @@ -478,13 +478,13 @@ export default function Icons({ name }) { xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" - stroke-width="1.5" + strokeWidth="1.5" stroke="currentColor" className="w-4 h-4" > diff --git a/src/components/MyJobs/MyJobTable.jsx b/src/components/MyJobs/MyJobTable.jsx index 235b984..53789cf 100644 --- a/src/components/MyJobs/MyJobTable.jsx +++ b/src/components/MyJobs/MyJobTable.jsx @@ -220,7 +220,7 @@ export default function MyJobTable({ MyJobList, reloadJobList, className }) { contentBodyClasses="w-auto min-w-max" /> - {MyJobList.loading ? ( + {MyJobList?.loading ? ( ) : (
diff --git a/src/components/MyTasks/MyJobTable.jsx b/src/components/MyTasks/MyJobTable.jsx index ac66111..4c23c5d 100644 --- a/src/components/MyTasks/MyJobTable.jsx +++ b/src/components/MyTasks/MyJobTable.jsx @@ -55,7 +55,7 @@ export default function MyJobTable({ className, ActiveJobList, Account }) { {!ActiveJobList?.data.length && accountType && (
)} - {ActiveJobList.loading ? + {ActiveJobList?.loading ?
diff --git a/src/components/MyWallet/Popup/ConfirmNairaWithdraw.jsx b/src/components/MyWallet/Popup/ConfirmNairaWithdraw.jsx index 7763e4b..eb0c4ed 100644 --- a/src/components/MyWallet/Popup/ConfirmNairaWithdraw.jsx +++ b/src/components/MyWallet/Popup/ConfirmNairaWithdraw.jsx @@ -170,9 +170,9 @@ function ConfirmNairaWithdraw({ viewBox="0 0 24 24" fill="none" stroke="green" - stroke-width="2" - stroke-linecap="round" - stroke-linejoin="round" + strokeWidth="2" + strokeLinecap="round" + strokeLinejoin="round" className="feather feather-check-circle" > @@ -186,9 +186,9 @@ function ConfirmNairaWithdraw({ width="100" height="100" stroke="red" - stroke-width="2" - stroke-linecap="round" - stroke-linejoin="round" + strokeWidth="2" + strokeLinecap="round" + strokeLinejoin="round" className="feather feather-x-circle" >