diff --git a/apps/namadillo/src/App/AccountOverview/AccountOverview.tsx b/apps/namadillo/src/App/AccountOverview/AccountOverview.tsx index 9f5297875a..7cea6b7388 100644 --- a/apps/namadillo/src/App/AccountOverview/AccountOverview.tsx +++ b/apps/namadillo/src/App/AccountOverview/AccountOverview.tsx @@ -1,4 +1,4 @@ -import { Panel, Stack } from "@namada/components"; +import { Panel } from "@namada/components"; import { ConnectPanel } from "App/Common/ConnectPanel"; import { PageWithSidebar } from "App/Common/PageWithSidebar"; import { EpochInformation } from "App/Sidebars/EpochInformation"; @@ -9,8 +9,7 @@ import { applicationFeaturesAtom } from "atoms/settings"; import { useUserHasAccount } from "hooks/useIsAuthenticated"; import { useAtomValue } from "jotai"; import { twMerge } from "tailwind-merge"; -import { AccountBalanceContainer } from "./AccountBalanceContainer"; -import { BalanceContainer } from "./BalanceContainer"; +import { BalanceOverviewChart } from "./BalanceOverviewChart"; import { MaspBanner } from "./MaspBanner"; import { NamBalanceContainer } from "./NamBalanceContainer"; import { NavigationFooter } from "./NavigationFooter"; @@ -18,9 +17,7 @@ import { TransparentOverviewPanel } from "./TransparentOverviewPanel"; export const AccountOverview = (): JSX.Element => { const userHasAccount = useUserHasAccount(); - const { claimRewardsEnabled, maspEnabled } = useAtomValue( - applicationFeaturesAtom - ); + const { maspEnabled } = useAtomValue(applicationFeaturesAtom); if (!userHasAccount) { return ( @@ -33,37 +30,29 @@ export const AccountOverview = (): JSX.Element => { return (
- {claimRewardsEnabled ? -
-
- - {maspEnabled ? - - : } - - - - -
- {maspEnabled && ( - <> - - - - )} - - +
+
+ + + + + -
- :
- - - - -
- } + + + +
+ {maspEnabled && ( + <> + + + + )} + + + + -