diff --git a/src/Corporation/ui/Overview.tsx b/src/Corporation/ui/Overview.tsx
index 93d7c1c73..a35b3a50f 100644
--- a/src/Corporation/ui/Overview.tsx
+++ b/src/Corporation/ui/Overview.tsx
@@ -89,19 +89,21 @@ export function Overview({ rerender }: IProps): React.ReactElement {
-
- Get a copy of and read 'The Complete Handbook for Creating a Successful Corporation.' This is a .lit file
- that guides you through the beginning of setting up a Corporation and provides some tips/pointers for
- helping you get started with managing it.
-
- }
- >
-
-
- {corp.public ? : }
-
+
+
+ Get a copy of and read 'The Complete Handbook for Creating a Successful Corporation.' This is a .lit file
+ that guides you through the beginning of setting up a Corporation and provides some tips/pointers for
+ helping you get started with managing it.
+
+ }
+ >
+
+
+ {corp.public ? : }
+
+
>
@@ -125,11 +127,9 @@ function PrivateButtons({ rerender }: IPrivateButtonsProps): React.ReactElement
return (
<>
{findInvestorsTooltip}}>
-
-
-
+
setFindInvestorsopen(false)} rerender={rerender} />
setGoPublicopen(false)} rerender={rerender} />
-
>
);
}
@@ -201,8 +200,8 @@ function PublicButtons({ rerender }: IPublicButtonsProps): React.ReactElement {
const sellSharesTooltip = sellSharesOnCd
? "Cannot sell shares for " + corp.convertCooldownToString(corp.shareSaleCooldown)
: "Sell your shares in the company. The money earned from selling your " +
- "shares goes into your personal account, not the Corporation's. " +
- "This is one of the only ways to profit from your business venture.";
+ "shares goes into your personal account, not the Corporation's. " +
+ "This is one of the only ways to profit from your business venture.";
const issueNewSharesOnCd = corp.issueNewSharesCooldown > 0;
const issueNewSharesTooltip = issueNewSharesOnCd
@@ -212,28 +211,21 @@ function PublicButtons({ rerender }: IPublicButtonsProps): React.ReactElement {
return (
<>
{sellSharesTooltip}}>
-
-
-
+
setSellSharesOpen(false)} rerender={rerender} />
Buy back shares you that previously issued or sold at market price.}>
-
-
-
+
setBuybackSharesOpen(false)} rerender={rerender} />
- {issueNewSharesTooltip}}>
-
-
-
+
setIssueNewSharesOpen(false)} />
setIssueDividendsOpen(true)}>Issue Dividends
setIssueDividendsOpen(false)} />
-
>
);
}
@@ -269,11 +260,9 @@ function BribeButton(): React.ReactElement {
: "Your Corporation is not powerful enough to bribe Faction leaders"
}
>
-
-
-
+
setOpen(false)} />
>