Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:Giveth/giveth-dapps-v2 into fix_…
Browse files Browse the repository at this point in the history
…issue_4449_network_modal

Update Branch
  • Loading branch information
HrithikSampson committed Sep 26, 2024
2 parents c7854e2 + db71b97 commit 3b90b81
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/components/views/project/projectGIVPower/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ const itemPerPage = 10;
const ProjectGIVPowerIndex: FC<IProjectGIVPowerIndexProps> = () => {
const [page, setPage] = useState(0);

const { isBoostingsLoading, boostersData } = useProjectContext();
const { isBoostingsLoading, boostersData, projectData } =
useProjectContext();
const hasGivPower = boostersData ? boostersData.totalCount > 0 : false;

if (isBoostingsLoading) return <WrappedSpinner size={250} />;
Expand Down Expand Up @@ -56,9 +57,11 @@ const ProjectGIVPowerIndex: FC<IProjectGIVPowerIndexProps> = () => {
/>
</Flex>
</Col>
<Col lg={4}>
<GIVpowerCard />
</Col>
{projectData?.isGivbackEligible && (
<Col lg={4}>
<GIVpowerCard />
</Col>
)}
</Row>
</>
) : (
Expand Down

0 comments on commit 3b90b81

Please sign in to comment.