import { Button, Typography } from "@mui/material"; import React, { useState } from "react"; import { Modal } from "../ui/React/Modal"; let v2ModalOpen = false; export const openV2Modal = (): void => { v2ModalOpen = true; }; export const V2Modal = (): React.ReactElement => { const [open, setOpen] = useState(v2ModalOpen); return ( undefined}> Welcome to bitburner v2.0.0!{" "} While this version does not change the game a lot, it does have quite a few API breaks.{" "} A file was added to your home computer called V2_0_0_API_BREAK.txt and it is highly recommended you take a look at this file. It explains where most of the API break have occurred. {" "} You should also take a look at{" "} {" "} the migration guide {" "} as well as{" "} the changelog ); };