11be7aaa8a
* 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
20 lines
437 B
TypeScript
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;
|