1cdea0b2e8
* feat(web3): make web3 container component reusable * feat(console-lite): add deposits tab to portfolio page * fix(console-lite): linting errors * fix(console-lite): pr comments * fix(console-lite): use enums for network vars
21 lines
476 B
TypeScript
21 lines
476 B
TypeScript
import { t } from '@vegaprotocol/react-helpers';
|
|
import { Web3Container } from '@vegaprotocol/web3';
|
|
import { DepositContainer } from './deposit-container';
|
|
|
|
const Deposit = () => {
|
|
return (
|
|
<Web3Container>
|
|
<div className="max-w-[420px] p-8 mx-auto">
|
|
<h1 className="text-2xl mb-4">{t('Deposit')}</h1>
|
|
<DepositContainer />
|
|
</div>
|
|
</Web3Container>
|
|
);
|
|
};
|
|
|
|
Deposit.getInitialProps = () => ({
|
|
page: 'deposit',
|
|
});
|
|
|
|
export default Deposit;
|