vega-frontend-monorepo/apps/trading/client-pages/transfer/transfer.tsx

24 lines
758 B
TypeScript
Raw Normal View History

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>
);
};