UI: Clarify wording in Corporation (#866)

This commit is contained in:
Jesse Clark 2023-10-17 06:59:52 -07:00 committed by GitHub
parent d4120fa688
commit 62ab9f33be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

@ -246,7 +246,7 @@ function PublicButtons({ rerender }: IPublicButtonsProps): React.ReactElement {
</ButtonWithTooltip> </ButtonWithTooltip>
<SellSharesModal open={sellSharesOpen} onClose={() => setSellSharesOpen(false)} rerender={rerender} /> <SellSharesModal open={sellSharesOpen} onClose={() => setSellSharesOpen(false)} rerender={rerender} />
<ButtonWithTooltip <ButtonWithTooltip
normalTooltip={"Buy back shares you that previously issued or sold on the market"} normalTooltip={"Buy back outstanding shares that you previously issued or sold on the market"}
disabledTooltip={corp.issuedShares < 1 ? "No shares available to buy back" : ""} disabledTooltip={corp.issuedShares < 1 ? "No shares available to buy back" : ""}
onClick={() => setBuybackSharesOpen(true)} onClick={() => setBuybackSharesOpen(true)}
> >

@ -89,7 +89,7 @@ export function BuybackSharesModal(props: IProps): React.ReactElement {
disabledText disabledText
) : ( ) : (
<> <>
<b>{corp.name}</b>'s stock price will rise to <Money money={sharePrice} /> per share. <b>{corp.name}</b>'s stock price will settle at <Money money={sharePrice} /> per share.
</> </>
)} )}
</Typography> </Typography>

@ -88,7 +88,7 @@ export function SellSharesModal(props: IProps): React.ReactElement {
<> <>
You will receive <Money money={profit} />. You will receive <Money money={profit} />.
<br /> <br />
<b>{corp.name}</b>'s stock price will fall to <Money money={sharePrice} /> per share. <b>{corp.name}</b>'s stock price will settle at <Money money={sharePrice} /> per share.
</> </>
)} )}
</Typography> </Typography>