mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-11 18:16:09 +02:00
See description
Reverted ToastVariant back to an enum internally. Still exposed to player as just possible strings. Changed all 1-line documentation comments to actually be 1-line. Moved some because they were not providing documentation for the thing they were trying to.
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
/**
|
||||
* React Component for the popup used to purchase a new server.
|
||||
*/
|
||||
import React, { useState } from "react";
|
||||
import { purchaseServer } from "../../Server/ServerPurchases";
|
||||
import { numeralWrapper } from "../../ui/numeralFormat";
|
||||
@@ -20,6 +17,7 @@ interface IProps {
|
||||
rerender: () => void;
|
||||
}
|
||||
|
||||
/** React Component for the popup used to purchase a new server. */
|
||||
export function PurchaseServerModal(props: IProps): React.ReactElement {
|
||||
const [hostname, setHostname] = useState("");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user