import { TradingButton } from '@vegaprotocol/ui-toolkit';
import { ViewType, useSidebar } from '../sidebar';
import { useGetCurrentRouteId } from '../../lib/hooks/use-get-current-route-id';
import { useT } from '../../lib/use-t';
export const AccountsMenu = () => {
const t = useT();
const currentRouteId = useGetCurrentRouteId();
const setViews = useSidebar((store) => store.setViews);
return (
<>
setViews({ type: ViewType.Transfer }, currentRouteId)}
>
{t('Transfer')}
setViews({ type: ViewType.Deposit }, currentRouteId)}
>
{t('Deposit')}
>
);
};