import { useContext } from 'react' import useTheme from '@mui/material/styles/useTheme' import Typography from '@mui/material/Typography' import Box from '@mui/material/Box' import Button from '@mui/material/Button' import Dialog from '@mui/material/Dialog' import DialogActions from '@mui/material/DialogActions' import DialogContent from '@mui/material/DialogContent' import DialogContentText from '@mui/material/DialogContentText' import DialogTitle from '@mui/material/DialogTitle' import ReportIcon from '@mui/icons-material/Report' import { ShellContext } from 'contexts/ShellContext' export const ServerConnectionFailureDialog = () => { const theme = useTheme() const { isServerConnectionFailureDialogOpen, setIsServerConnectionFailureDialogOpen, } = useContext(ShellContext) const handleDialogClose = () => { setIsServerConnectionFailureDialogOpen(false) } return ( ({ color: theme.palette.error.main, mr: theme.spacing(1), })} /> Server connection failed A pairing server could not be found. Make sure you are connected to the internet. If you still can't connect, try:
  • Refreshing the page
  • Disabling any adblockers
  • Connecting to a different network
  • ) }