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

15 lines
437 B
TypeScript
Raw Normal View History

import { useSearchParams } from 'react-router-dom';
import { GetStarted } from '../../components/welcome-dialog/get-started';
import { WithdrawContainer } from '../../components/withdraw-container';
export const Withdraw = () => {
const [searchParams] = useSearchParams();
const assetId = searchParams.get('assetId') || undefined;
return (
<>
<WithdrawContainer assetId={assetId} />
<GetStarted />
</>
);
};