From 76d529255620dff1f071d3d72e12f1dc6f732e29 Mon Sep 17 00:00:00 2001 From: Marco Aurelio Salazar <90633967+marcusats@users.noreply.github.com> Date: Mon, 31 Jul 2023 10:32:47 +0200 Subject: [PATCH] circle fix -1 --- src/views/MicrocreditManager/ApproveRejectTab/BorrowersList.tsx | 1 + src/views/MicrocreditManager/ApproveRejectTab/index.tsx | 1 + src/views/MicrocreditManager/MicrocreditManager.tsx | 2 ++ 3 files changed, 4 insertions(+) diff --git a/src/views/MicrocreditManager/ApproveRejectTab/BorrowersList.tsx b/src/views/MicrocreditManager/ApproveRejectTab/BorrowersList.tsx index 17d4f2cc..5b1ace04 100644 --- a/src/views/MicrocreditManager/ApproveRejectTab/BorrowersList.tsx +++ b/src/views/MicrocreditManager/ApproveRejectTab/BorrowersList.tsx @@ -476,6 +476,7 @@ const BorrowersList = (props: any) => { } = props; const auth = useSelector(selectCurrentUser); + // @ts-ignore const { managerDetails } = useLoanManager(); const limitReach = diff --git a/src/views/MicrocreditManager/ApproveRejectTab/index.tsx b/src/views/MicrocreditManager/ApproveRejectTab/index.tsx index 9a682421..8fb8fb7a 100644 --- a/src/views/MicrocreditManager/ApproveRejectTab/index.tsx +++ b/src/views/MicrocreditManager/ApproveRejectTab/index.tsx @@ -84,6 +84,7 @@ const DecisionCard: React.FC<{ selected: object; mutate: any }> = (props) => { (obj: { address: string }) => obj.address ); + // @ts-ignore const { managerDetails } = useLoanManager(); const limitReach = diff --git a/src/views/MicrocreditManager/MicrocreditManager.tsx b/src/views/MicrocreditManager/MicrocreditManager.tsx index 697dfce8..747c9694 100644 --- a/src/views/MicrocreditManager/MicrocreditManager.tsx +++ b/src/views/MicrocreditManager/MicrocreditManager.tsx @@ -30,6 +30,8 @@ const MicrocreditManager: React.FC<{ isLoading?: boolean }> = (props) => { } }, []); + + // @ts-ignore const { managerDetails } = useLoanManager(); const limitReach =