mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
gang member popup styling
This commit is contained in:
parent
e5dcb424a2
commit
dc890a908b
@ -36,13 +36,8 @@ export function RecruitPopup(props: IRecruitPopupProps): React.ReactElement {
|
||||
removePopup(props.popupId);
|
||||
}
|
||||
|
||||
function cancel(): void {
|
||||
removePopup(props.popupId);
|
||||
}
|
||||
|
||||
function onKeyUp(event: React.KeyboardEvent<HTMLInputElement>): void {
|
||||
if (event.keyCode === 13) recruit();
|
||||
if (event.keyCode === 27) cancel();
|
||||
}
|
||||
|
||||
function onChange(event: React.ChangeEvent<HTMLInputElement>): void {
|
||||
@ -64,9 +59,6 @@ export function RecruitPopup(props: IRecruitPopupProps): React.ReactElement {
|
||||
<a className="std-button" onClick={recruit}>
|
||||
Recruit Gang Member
|
||||
</a>
|
||||
<a className="std-button" onClick={cancel}>
|
||||
Cancel
|
||||
</a>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user