import React from 'react'; import { useTranslation } from 'react-i18next'; import { Dialog, DialogTitle, DialogActions, DialogContent, DialogContentText, Button, } from '@mui/material'; import { Link } from 'react-router-dom'; type Props = { open: boolean; onClose: () => void; }; const NoRobotDialog = ({ open, onClose }: Props): JSX.Element => { const { t } = useTranslation(); return ( {t('You do not have a robot avatar')} {t('You need to generate a robot avatar in order to become an order maker')} ); }; export default NoRobotDialog;