import { AsyncRenderer, Button } from '@vegaprotocol/ui-toolkit'; import { DepositDialog, DepositsTable } from '@vegaprotocol/deposits'; import { useDeposits } from '@vegaprotocol/deposits'; import { t } from '@vegaprotocol/react-helpers'; import { useState } from 'react'; export const DepositsContainer = () => { const { deposits, loading, error } = useDeposits(); const [depositDialog, setDepositDialog] = useState(false); return (