diff --git a/frontend/src/components/dashboard/FirstDepositDialog.tsx b/frontend/src/components/dashboard/FirstDepositDialog.tsx index 3948b8b5..af065294 100644 --- a/frontend/src/components/dashboard/FirstDepositDialog.tsx +++ b/frontend/src/components/dashboard/FirstDepositDialog.tsx @@ -3,7 +3,7 @@ import { PartyPopper } from "lucide-react"; import { ApiDepositEvent } from "@suilend/sdk/types"; import Dialog from "@/components/dashboard/Dialog"; -import { TLabelSans } from "@/components/shared/Typography"; +import { TBodySans } from "@/components/shared/Typography"; import { AspectRatio } from "@/components/ui/aspect-ratio"; import { useDashboardContext } from "@/contexts/DashboardContext"; @@ -32,11 +32,11 @@ export default function FirstDepositDialog() { isAutoHeight >
- + { "Your account is represented as an NFT, which can be viewed from your wallet's NFT section. Remember, do not burn!" } - + ( ))} diff --git a/frontend/src/components/layout/LoopedPosition.tsx b/frontend/src/components/layout/LoopedPosition.tsx index 10a38890..789e0784 100644 --- a/frontend/src/components/layout/LoopedPosition.tsx +++ b/frontend/src/components/layout/LoopedPosition.tsx @@ -1,17 +1,27 @@ +import { ClassValue } from "clsx"; + import TokenLogo from "@/components/shared/TokenLogo"; -import { TLabelSans } from "@/components/shared/Typography"; +import { TBodySans } from "@/components/shared/Typography"; import { AppData, useAppContext } from "@/contexts/AppContext"; +import { cn } from "@/lib/utils"; interface LoopedPositionProps { + labelClassName?: ClassValue; coinTypes: string[]; } -export default function LoopedPosition({ coinTypes }: LoopedPositionProps) { +export default function LoopedPosition({ + labelClassName, + coinTypes, +}: LoopedPositionProps) { const appContext = useAppContext(); const data = appContext.data as AppData; return (
+ + • + - + {data.coinMetadataMap[coinTypes[0]].symbol} deposits{" "} {coinTypes[0] === coinTypes[1] ? "and borrows" : "and"} - + {coinTypes[0] !== coinTypes[1] && ( <> - + {data.coinMetadataMap[coinTypes[1]].symbol} borrows - + )}
diff --git a/frontend/src/components/layout/LoopingDialog.tsx b/frontend/src/components/layout/LoopingDialog.tsx index e5909234..3cdf7cde 100644 --- a/frontend/src/components/layout/LoopingDialog.tsx +++ b/frontend/src/components/layout/LoopingDialog.tsx @@ -36,7 +36,7 @@ export default function LoopingDialog() { isAutoHeight >
- {LOOPING_MESSAGE} + {LOOPING_MESSAGE}
{loopedAssetCoinTypes.map((coinTypes) => (