Skip to content

Commit

Permalink
SOV-3285: use Convert page as default landing page (#648)
Browse files Browse the repository at this point in the history
* feat: use Convert page as default landing page

* chore: add changeset
  • Loading branch information
soulBit authored Oct 23, 2023
1 parent dec66af commit 49f155d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/warm-parents-move.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"frontend": patch
---

SOV-3285: use Convert page as default landing page
11 changes: 5 additions & 6 deletions apps/frontend/src/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,12 @@ const routes = [
errorElement: <ErrorPage />,
children: [
{
element: <Zero />,
index: true,
loader: zeroPageLoader,
element: <ConvertPage />,
},
{
path: '/convert',
element: <ConvertPage />,
},
{
path: '/borrow/line-of-credit',
Expand Down Expand Up @@ -91,10 +94,6 @@ const routes = [
path: '/earn',
loader: () => redirect('/earn/lend'),
},
{
path: '/convert',
element: <ConvertPage />,
},
{
path: '/bitocracy',
element: <BitocracyPage />,
Expand Down

0 comments on commit 49f155d

Please sign in to comment.