Go to file
Gustavo Mauricio 56bfea8ed0
Update account stats on pending action (#51)
* feat: update account stats on pending action

* lift repay amount with buffer calculation to repay modal

* refactor navigation component to properly format account stats

* update repay funds hook using credit manager client

* consider market liquidity when calculating max withdraw amount

* refactor useMaxBorrowAmount hook to be consistent with withdraw

* format

* remove duplicated import statements
2022-11-09 13:47:36 +01:00
.github Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
components Update account stats on pending action (#51) 2022-11-09 13:47:36 +01:00
config Borrow improvements (#29) 2022-10-24 16:15:26 +01:00
hooks Update account stats on pending action (#51) 2022-11-09 13:47:36 +01:00
pages Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
public MP-1227: Borrow Page (#24) 2022-10-20 16:39:21 +01:00
stores Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
styles MP-2017: Deposit Funds and Account stats (#21) 2022-10-12 16:41:03 +01:00
types Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
utils Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
.eslintrc.json Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
.gitignore sentry setup 2022-09-02 22:29:22 +01:00
.prettierrc Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
generate_types.sh Withdraw assets from account (#43) 2022-11-07 16:36:12 +00:00
next.config.js fix: next build (#28) 2022-10-21 12:48:59 +02:00
package.json Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
postcss.config.js initial setup wip 2022-09-02 15:30:58 +01:00
README.md Initial commit from Create Next App 2022-09-02 12:17:39 +01:00
sentry.client.config.js WIP (#12) 2022-09-29 20:21:31 +01:00
sentry.properties sentry setup 2022-09-02 22:29:22 +01:00
sentry.server.config.js WIP (#12) 2022-09-29 20:21:31 +01:00
tailwind.config.js WIP (#12) 2022-09-29 20:21:31 +01:00
tsconfig.json pages initial setup and respective navigation 2022-09-02 12:51:18 +01:00
yarn.lock Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.