vega-frontend-monorepo/apps/trading/client-pages/withdraw/withdraw.tsx
Bartłomiej Głownia a070504d2e
feat(trading): i18n (#5126)
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2023-11-14 21:10:06 -08:00

15 lines
437 B
TypeScript

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