From 018a87dea5d6bc3770d7e6878362e7b94c9e8ede Mon Sep 17 00:00:00 2001 From: Kobe Date: Mon, 21 Oct 2024 16:19:26 +0200 Subject: [PATCH] fix: fixed merge conflicts --- .../admin/admin-pool-card/admin-pool-card.tsx | 30 +++++++------------ .../src/store/tradeStore.ts | 1 - .../common/Mint/MintCardWrapper.tsx | 1 - 3 files changed, 11 insertions(+), 21 deletions(-) diff --git a/apps/marginfi-v2-trading/src/components/common/admin/admin-pool-card/admin-pool-card.tsx b/apps/marginfi-v2-trading/src/components/common/admin/admin-pool-card/admin-pool-card.tsx index d6559fefd..1888ddb08 100644 --- a/apps/marginfi-v2-trading/src/components/common/admin/admin-pool-card/admin-pool-card.tsx +++ b/apps/marginfi-v2-trading/src/components/common/admin/admin-pool-card/admin-pool-card.tsx @@ -3,12 +3,13 @@ import React from "react"; import Image from "next/image"; import Link from "next/link"; -import { numeralFormatter, tokenPriceFormatter, percentFormatter } from "@mrgnlabs/mrgn-common"; +import { numeralFormatter, tokenPriceFormatter, percentFormatter, shortenAddress } from "@mrgnlabs/mrgn-common"; import { cn } from "@mrgnlabs/mrgn-utils"; import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "~/components/ui/tooltip"; import type { GroupData } from "~/store/tradeStore"; import { Button } from "~/components/ui/button"; +import { IconExternalLink } from "@tabler/icons-react"; type AdminPoolCardProps = { groupData: GroupData; @@ -61,24 +62,15 @@ export const AdminPoolCard = ({ groupData, last }: AdminPoolCardProps) => { )}
- - - - - marginfi - - - -

Pool created by marginfi

-
-
-
+ + {shortenAddress(groupData.client.group.admin || "")}{" "} + +
diff --git a/apps/marginfi-v2-trading/src/store/tradeStore.ts b/apps/marginfi-v2-trading/src/store/tradeStore.ts index 603aa5383..7473dbd72 100644 --- a/apps/marginfi-v2-trading/src/store/tradeStore.ts +++ b/apps/marginfi-v2-trading/src/store/tradeStore.ts @@ -153,7 +153,6 @@ type TradeStoreState = { const { programId } = getConfig(); const USDC_MINT = new PublicKey("EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"); -const LST_MINT = new PublicKey("LSTxxxnJzKDFSLr4dUkPcmCf5VyryEqzPLz5j4bpxFp"); let fuse: Fuse | null = null; diff --git a/apps/marginfi-v2-ui/src/components/common/Mint/MintCardWrapper.tsx b/apps/marginfi-v2-ui/src/components/common/Mint/MintCardWrapper.tsx index 5c3ff21ec..339d1c334 100644 --- a/apps/marginfi-v2-ui/src/components/common/Mint/MintCardWrapper.tsx +++ b/apps/marginfi-v2-ui/src/components/common/Mint/MintCardWrapper.tsx @@ -7,7 +7,6 @@ import { IconCheck, IconBell } from "@tabler/icons-react"; import { MintCardProps } from "~/utils"; import { useMrgnlendStore } from "~/store"; import { ActionBox } from "@mrgnlabs/mrgn-ui"; -import { capture } from "@mrgnlabs/mrgn-utils"; import { Button } from "~/components/ui/button"; import { Card, CardContent, CardHeader, CardTitle } from "~/components/ui/card";