import { AsyncRenderer, Button, Dialog } from '@vegaprotocol/ui-toolkit'; import { DepositContainer, 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 (
{ return ; }} />
); }; export interface DepositDialogProps { assetId?: string; depositDialog: boolean; setDepositDialog: (open: boolean) => void; } export const DepositDialog = ({ assetId, depositDialog, setDepositDialog, }: DepositDialogProps) => { return (

{t('Deposit')}

); };