2023-09-19 06:15:36 +00:00
|
|
|
import { useSearchParams } from 'react-router-dom';
|
2023-11-15 05:10:06 +00:00
|
|
|
import { GetStarted } from '../../components/welcome-dialog/get-started';
|
2023-09-19 06:15:36 +00:00
|
|
|
import { WithdrawContainer } from '../../components/withdraw-container';
|
|
|
|
|
|
|
|
export const Withdraw = () => {
|
|
|
|
const [searchParams] = useSearchParams();
|
|
|
|
const assetId = searchParams.get('assetId') || undefined;
|
|
|
|
return (
|
2023-09-20 20:28:34 +00:00
|
|
|
<>
|
|
|
|
<WithdrawContainer assetId={assetId} />
|
|
|
|
<GetStarted />
|
|
|
|
</>
|
2023-09-19 06:15:36 +00:00
|
|
|
);
|
|
|
|
};
|