7c2a84805e
* chore: make sure etherscan links open in new tab * fix: format withdrawal amount correctly in table * fix: switch to use next Link element so page state not lost * fix: calc deposit max validation using ethereum storage at * fix: remaining amount in deposits and refetch allowance * fix: page background in dark mode * chore: disable autocomplete for ethaddress * fix: bump ag grid row size so underline is shown on FF * fix: expect correctly formatted withdrawal amount * fix: missing react keys in maps * fix: complete button text in test * fix: use sentry/react, fix webpack config path
17 lines
464 B
TypeScript
17 lines
464 B
TypeScript
import { t } from '@vegaprotocol/react-helpers';
|
|
import { Button } from '@vegaprotocol/ui-toolkit';
|
|
import Link from 'next/link';
|
|
|
|
export const DepositsContainer = () => {
|
|
return (
|
|
<div className="grid grid-cols-[1fr_min-content] gap-12 h-full">
|
|
<div />
|
|
<div className="p-12">
|
|
<Link href="/portfolio/deposit" passHref={true}>
|
|
<Button data-testid="deposit">{t('Deposit')}</Button>
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|