vega-frontend-monorepo/apps/trading/pages/portfolio/deposit/index.page.tsx
Matthew Russell 11be7aaa8a
refacotr: deposit manager (#867)
* refactor: deposit manager with a zustand store and refetching balances after contracts complete

* refactor: remove assetId query string functionality

* chore: remove unused import

* chore: add a comment with a link to code explanation

* refactor: capture errors from deposit value get functions

* refactor: add error handling for async perform funcs

* feat: add assets to react helpers for types and erc20 check
2022-07-28 13:23:59 +01:00

20 lines
437 B
TypeScript

import { Web3Container } from '../../../components/web3-container';
import { DepositContainer } from './deposit-container';
const Deposit = () => {
return (
<Web3Container>
<div className="max-w-[420px] p-24 mx-auto">
<h1 className="text-h3 mb-12">Deposit</h1>
<DepositContainer />
</div>
</Web3Container>
);
};
Deposit.getInitialProps = () => ({
page: 'deposit',
});
export default Deposit;