Skip to content

Commit

Permalink
add buy page
Browse files Browse the repository at this point in the history
  • Loading branch information
mara1esh committed Mar 29, 2024
1 parent 95a3bd9 commit 6b35793
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/components/screens/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import Wallets from "./mainPages/Wallets";
import Settings from "./mainPages/Settings";
import Rewards from "./mainPages/Rewards";
import OnboardingPopup from "../blocks/OnboardingPopup";
import Buy from "./mainPages/Buy";

const SwapDynamic = lazy(() => import("./mainPages/Swap"));

Expand All @@ -42,6 +43,7 @@ function matchMainPage(page: Page) {
return match(page)
.with(Page.Default, () => <Overview />)
.with(Page.Receive, () => <Receive />)
.with(Page.Buy, () => <Buy />)
.with(Page.Transfer, () => <Transfer />)
.with(Page.Swap, () => <SwapDynamic />)
.with(Page.Apps, () => <Apps />)
Expand Down
1 change: 1 addition & 0 deletions src/app/nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export enum Page {
Profiles = "profiles",
Unlock = "unlock",
Receive = "receive",
Buy = "buy",
Transfer = "transfer",
Swap = "swap",
Apps = "apps",
Expand Down

0 comments on commit 6b35793

Please sign in to comment.