mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-25 02:32:55 +02:00
with SLEEVE_8, fix workForFaction
This commit is contained in:
@@ -66,8 +66,7 @@ export function AlertManager(): React.ReactElement {
|
||||
{alerts.length > 0 && (
|
||||
<Modal open={true} onClose={close}>
|
||||
<Box overflow="scroll" sx={{ overflowWrap: "break-word", whiteSpace: "pre-line" }}>
|
||||
{typeof alerts[0].text === "string" && <Typography>{alerts[0].text}</Typography>}
|
||||
{typeof alerts[0].text !== "string" && alerts[0].text}
|
||||
<Typography>{alerts[0].text}</Typography>
|
||||
</Box>
|
||||
</Modal>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user