import { t } from '@vegaprotocol/i18n'; import { TradingButton } from '@vegaprotocol/ui-toolkit'; import { ViewType, useSidebar } from '../sidebar'; export const AccountsMenu = () => { const setView = useSidebar((store) => store.setView); return ( <> setView({ type: ViewType.Transfer })} > {t('Transfer')} setView({ type: ViewType.Deposit })} > {t('Deposit')} ); };