mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-04-08 03:11:27 +02:00
21 lines
662 B
TypeScript
21 lines
662 B
TypeScript
/**
|
|
* Root React Component for the "Active Scripts" UI page. This page displays
|
|
* and provides information about all of the player's scripts that are currently running
|
|
*/
|
|
import React from "react";
|
|
import Typography from "@mui/material/Typography";
|
|
|
|
import { recentScripts } from "../../Netscript/RecentScripts";
|
|
import { RecentScriptAccordion } from "./RecentScriptAccordion";
|
|
|
|
export function RecentScriptsPage(): React.ReactElement {
|
|
return (
|
|
<>
|
|
<Typography>List of all recently killed scripts.</Typography>
|
|
{recentScripts.map((r) => (
|
|
<RecentScriptAccordion key={r.runningScript.pid} recentScript={r} />
|
|
))}
|
|
</>
|
|
);
|
|
}
|