vega-frontend-monorepo/apps/trading/client-pages/transfer/transfer.tsx
2023-09-20 13:28:34 -07:00

16 lines
413 B
TypeScript

import { useSearchParams } from 'react-router-dom';
import { TransferContainer } from '@vegaprotocol/accounts';
import { GetStarted } from '../../components/welcome-dialog';
export const Transfer = () => {
const [searchParams] = useSearchParams();
const assetId = searchParams.get('assetId') || undefined;
return (
<>
<TransferContainer assetId={assetId} />
<GetStarted />
</>
);
};