mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 03:25:44 +02:00
Hotfix: Popups no longer show up during infiltration (#847)
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import React, { useState } from "react";
|
||||
|
||||
import { Button, Tooltip } from "@mui/material";
|
||||
import { ConfirmationModal } from "./ConfirmationModal";
|
||||
import Button from "@mui/material/Button";
|
||||
import { Tooltip, Typography } from "@mui/material";
|
||||
import RestartAltIcon from "@mui/icons-material/RestartAlt";
|
||||
|
||||
interface IProps {
|
||||
@@ -50,7 +49,7 @@ Are you sure?
|
||||
onConfirm={onTriggered}
|
||||
open={modalOpened}
|
||||
onClose={() => setModalOpened(false)}
|
||||
confirmationText={<Typography style={{ whiteSpace: "pre-wrap" }}>{confirmationMessage}</Typography>}
|
||||
confirmationText={<span style={{ whiteSpace: "pre-wrap" }}>{confirmationMessage}</span>}
|
||||
additionalButton={<Button onClick={() => setModalOpened(false)}>Cancel</Button>}
|
||||
/>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user