import { AsyncRenderer, Button } from '@vegaprotocol/ui-toolkit'; import { useWithdrawals, useWithdrawalDialog, WithdrawalsTable, } from '@vegaprotocol/withdraws'; import { t } from '@vegaprotocol/react-helpers'; import { VegaWalletContainer } from '../../components/vega-wallet-container'; export const WithdrawalsContainer = () => { const { data, loading, error } = useWithdrawals(); const openWithdrawDialog = useWithdrawalDialog((state) => state.open); return (
null} />
!(data && data.length)} noDataMessage={t('No withdrawals')} />
); };