investor view

This commit is contained in:
YasinShaikh123
2024-08-16 18:26:25 +05:30
parent 34c51c4c4c
commit 692e08abd6
4 changed files with 12 additions and 3 deletions

View File

@@ -262,6 +262,9 @@ const InvestorDetails = () => {
onEditOpen();
};
console.log(investorDetails?.data?.totalItems);
return (
<Box {...OPACITY_ON_LOAD} overflowY={"scroll"} height={"100vh"} pb={38}>
<Box bg="white.500">
@@ -363,12 +366,13 @@ const InvestorDetails = () => {
</Select>
<Pagination
isLoading={investorDetailsLoading}
isLoading={investorDetailsLoading}
pageSize={pageSize}
setPageSize={setPageSize}
currentPage={currentPage}
setCurrentPage={setCurrentPage}
totalItems={investorDetails?.data?.totalItems}
/>
</HStack>
</HStack>

View File

@@ -237,6 +237,7 @@ const ProfileView = () => {
View Details
</Tab>
<Tab
isDisabled={true}
fontSize={"sm"}
_selected={{
color: "#004118",
@@ -246,6 +247,7 @@ const ProfileView = () => {
Portfolio
</Tab>
<Tab
isDisabled={true}
fontSize={"sm"}
_selected={{
color: "#004118",
@@ -255,6 +257,7 @@ const ProfileView = () => {
Transaction
</Tab>
<Tab
isDisabled={true}
fontSize={"sm"}
_selected={{
color: "#004118",

View File

@@ -178,6 +178,8 @@ const Sponser = () => {
console.log(isSponserLoading);
return (
<Box {...OPACITY_ON_LOAD} overflowY={"scroll"} height={"100vh"} pb={38}>
<Box bg="white.500">

View File

@@ -62,8 +62,8 @@ export const RouteLink = [
{ path: "/view-io/:id", Component: ViewIOdata },
// ===============[ Investor Management]===============
{ path: "/investor-details", Componinvestorent: InvestorDetails },
{ path: "/investor-details/profile-view/:id", Component: UnderConstruction },
{ path: "/investor-details", Component: InvestorDetails },
{ path: "/investor-details/profile-view/:id", Component: ProfileView },
{ path: "/investor-details/view-investor-details", Component: ViewInvestorDetails },
// { path: "/investor-transactions", Component: InvestorTransactions },
{ path: "/investor-transactions", Component: UnderConstruction },