import React from 'react';
import { Link } from 'react-router-dom';
import { Alert, AlertTitle } from '@mui/material';

export const NoClientError = () => (
  <Alert severity="error">
    <AlertTitle data-testid="client-error">No client detected</AlertTitle>
    Have you signed in? Try to go back to <Link to="/signin">the main page</Link> and try again
  </Alert>
);
