Skip to content

Commit

Permalink
Refactor PortfolioPageView component to add tabs for Overview, Wallet…
Browse files Browse the repository at this point in the history
…, Rebalance Activity, and Rewards
  • Loading branch information
marcinciarka committed Oct 25, 2024
1 parent 1978fc2 commit 10f4912
Showing 1 changed file with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,26 @@ export const PortfolioPageView: FC<PortfolioPageViewProps> = ({
strategiesList,
}) => {
const tabs = [
{ label: 'Overview', content: <PortfolioOverview strategiesList={strategiesList} /> },
{
id: 'overview',
label: 'Overview',
content: <PortfolioOverview strategiesList={strategiesList} />,
},
{
id: 'wallet',
label: 'Wallet',
content: <PortfolioWallet walletData={walletData} strategiesList={strategiesList} />,
},
{ label: 'Rebalance Activity', content: <PortfolioRebalanceActivity /> },
{ label: 'Rewards', content: <PortfolioRewards rewardsData={rewardsData} /> },
{
id: 'rebalance-activity',
label: 'Rebalance Activity',
content: <PortfolioRebalanceActivity />,
},
{
id: 'rewards',
label: 'Rewards',
content: <PortfolioRewards rewardsData={rewardsData} />,
},
]

return (
Expand Down

0 comments on commit 10f4912

Please sign in to comment.