Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show graph on portfolio page #2510

Merged
merged 2 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion centrifuge-app/src/components/Portfolio/Transactions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

export function Transactions({ onlyMostRecent, narrow, txTypes, address, trancheId }: TransactionsProps) {
const explorer = useGetExplorerUrl()
const theme = useTheme()

Check warning on line 47 in centrifuge-app/src/components/Portfolio/Transactions.tsx

View workflow job for this annotation

GitHub Actions / build-app

'theme' is assigned a value but never used

Check warning on line 47 in centrifuge-app/src/components/Portfolio/Transactions.tsx

View workflow job for this annotation

GitHub Actions / ff-prod / build-app

'theme' is assigned a value but never used
const columns = [
{
align: 'left',
Expand Down Expand Up @@ -208,7 +208,7 @@
</Stack>
</PaginationProvider>
) : (
<Shelf border={`1px solid ${theme.colors.backgroundTertiary}`} borderRadius="6px" justifyContent="center" p={2}>
<Shelf borderRadius="4px" backgroundColor="backgroundSecondary" justifyContent="center" p="10px">
<Text color="textSecondary" variant="body2">
No transactions displayed yet
</Text>
Expand Down
2 changes: 1 addition & 1 deletion centrifuge-app/src/pages/Portfolio/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function Portfolio() {
Track and manage your portfolio
</Text>
</Stack>
<CardPortfolioValue address={address} chainId={chainId} showGraph={false} />
<CardPortfolioValue address={address} chainId={chainId} />
</LayoutSection>

{transactions?.investorTransactions.length === 0 && connectedNetwork === 'centrifuge' ? (
Expand Down
Loading