Skip to content

Commit

Permalink
Remove contributions display (#3300)
Browse files Browse the repository at this point in the history
* remove amount in cards

* remove unused variable

* remove balances in profile
  • Loading branch information
ap-justin authored Sep 16, 2024
1 parent 68b8bfd commit 6a1a2a8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions src/pages/Marketplace/Cards/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import BookmarkBtn from "components/BookmarkBtn";
import Image from "components/Image";
import VerifiedIcon from "components/VerifiedIcon";
import { appRoutes } from "constants/routes";
import { humanize } from "helpers";
import { Link } from "react-router-dom";
import type { EndowmentCard } from "types/aws";

Expand All @@ -15,7 +14,6 @@ export default function Card({
id,
tagline,
claimed,
contributions_total,
}: EndowmentCard) {
return (
<div className="relative">
Expand Down Expand Up @@ -47,11 +45,6 @@ export default function Card({
{tagline}
</p>
) : null}

<p className="text-sm mt-auto flex items-center gap-1">
<span>Total contribution:</span>
<span>${humanize(contributions_total, 0)}</span>
</p>
</div>
</Link>
{/** absolute so above whole `Link` card */}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Link } from "react-router-dom";
import type { EndowClaim } from "types/aws";
import { useProfileContext } from "../../../ProfileContext";
import DonateButton from "../../DonateButton";
import Balances from "./Balances";
import Socials from "./Socials";
import Tags from "./Tags";

Expand All @@ -14,7 +13,6 @@ export default function DetailsColumn({ className = "" }) {
const { active_in_countries = [] } = p;
return (
<div className="flex flex-col gap-6 w-full">
<Balances />
<div className={`${className} w-full lg:w-96`}>
<div className="flex flex-col gap-8 w-full p-8 border border-gray-l4 rounded">
{p.registration_number && (
Expand Down

0 comments on commit 6a1a2a8

Please sign in to comment.