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

16 lines
413 B
TypeScript
Raw Normal View History

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