import { Component, Suspense } from 'react'; import { Provider } from 'react-redux'; import { MemoryRouter as Router } from 'react-router-dom'; import CssBaseline from '@mui/material/CssBaseline'; import { store } from 'store'; import Routes from './AppShellRoutes'; import FeatureDetection from './FeatureDetection'; import './AppShell.css'; import { ToastProvider } from 'components/Toast' class AppShell extends Component { componentDidMount() { // @TODO (1) window.onbeforeunload = () => true; } handleContextMenu(event) { event.preventDefault(); } render() { return (
); } } export default AppShell;