import orderBy from 'lodash/orderBy'; import { AsyncRenderer } from '@vegaprotocol/ui-toolkit'; import { useWithdrawals, WithdrawalsTable } from '@vegaprotocol/withdraws'; export const WithdrawalsPageContainer = () => { const { data, loading, error } = useWithdrawals(); return ( { const withdrawals = orderBy( data.party?.withdrawals || [], (w) => new Date(w.createdTimestamp).getTime(), 'desc' ); return ; }} /> ); };