Skip to content

Commit

Permalink
Merge branch 'main' into create_pool_changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kattylucy authored Jan 23, 2025
2 parents f21e33d + c4f9cb4 commit 43229af
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function CardPortfolioValue({ address, chainId }: { address?: string; cha
</Text>
</Box>
<TextWithPlaceholder isLoading={!currentPortfolioValue} variant="heading1">
{formatBalance(currentPortfolioValue || 0)}
{formatBalance(currentPortfolioValue || 0, 'USD')}
</TextWithPlaceholder>
</Box>
<Select options={rangeFilters} onChange={(e) => setRange(e.target.value as RangeValue)} hideBorder />
Expand Down
3 changes: 2 additions & 1 deletion centrifuge-app/src/components/Portfolio/Transactions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export function Transactions({ onlyMostRecent, narrow, txTypes, address, tranche
{
align: 'left',
header: 'Action',
width: '140px',
cell: ({ action, tranche, pool, amount }: Row) => (
<TransactionTypeChip
type={action as InvestorTransactionType}
Expand Down Expand Up @@ -166,7 +167,7 @@ export function Transactions({ onlyMostRecent, narrow, txTypes, address, tranche
<Text variant="heading4">{title}</Text>
{csvUrl && (
<Box style={{ gridColumn: columns.length, justifySelf: 'end' }}>
<AnchorButton small variant="secondary" href={csvUrl} download={`transaction-history-${address}.csv`}>
<AnchorButton small variant="inverted" href={csvUrl} download={`transaction-history-${address}.csv`}>
Download
</AnchorButton>
</Box>
Expand Down
2 changes: 1 addition & 1 deletion centrifuge-app/src/pages/Prime/Detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const PrimeDetail = () => {
data={[
{
label: 'Portfolio Value',
value: formatBalance(currentPortfolioValue || 0, ''),
value: formatBalance(currentPortfolioValue || 0, 'USD'),
heading: false,
children: yieldSinceInception ? (
<Box backgroundColor={theme.colors.statusOkBg} padding="4px" borderRadius={4}>
Expand Down

0 comments on commit 43229af

Please sign in to comment.