95a51fd152
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
24 lines
758 B
TypeScript
24 lines
758 B
TypeScript
import { useSearchParams } from 'react-router-dom';
|
|
import { t } from '@vegaprotocol/i18n';
|
|
import { TransferContainer } from '@vegaprotocol/accounts';
|
|
import { GetStarted } from '../../components/welcome-dialog';
|
|
|
|
export const Transfer = () => {
|
|
const [searchParams] = useSearchParams();
|
|
const assetId = searchParams.get('assetId') || undefined;
|
|
|
|
return (
|
|
<div className="flex justify-center w-full px-8 py-16">
|
|
<div className="lg:min-w-[700px] min-w-[300px] max-w-[700px]">
|
|
<h1 className="text-4xl uppercase xl:text-5xl font-alpha calt">
|
|
{t('Transfer')}
|
|
</h1>
|
|
<div className="mt-10">
|
|
<TransferContainer assetId={assetId} />
|
|
<GetStarted />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|