Improve restart from UI

This commit is contained in:
ElMoribond 2021-07-14 14:53:20 +02:00
parent 870b2f4919
commit be04b69bae

View File

@ -35,8 +35,8 @@ export default function AppBar() {
const handleRestart = useCallback(() => { const handleRestart = useCallback(() => {
setShowMoreMenu(false); setShowMoreMenu(false);
setShowDialog(true); setShowDialogRestart(true);
}, [setShowDialog]); }, [setShowDialogRestart]);
return ( return (
<Fragment> <Fragment>