import React from "react";
import Button from "@mui/material/Button";
import DialogActions from "@mui/material/DialogActions";
import DialogContent from "@mui/material/DialogContent";

function ManualConfirm(props) {
  const { cache, setCache, back, start } = props;

  return (
    <React.Fragment>
      <DialogContent>
        <h3>Manual Confirm?</h3>
        {JSON.stringify(cache)}
      </DialogContent>
      <DialogActions>
        <Button onClick={back}>Back</Button>
        <Button onClick={start} autoFocus>
          Start
        </Button>
      </DialogActions>
    </React.Fragment>
  );
}

export default ManualConfirm;
