Merge pull request #1536 from Tyasuh/dev

Corp UI Buyback Shares
This commit is contained in:
hydroflame 2021-10-17 01:23:04 -04:00 committed by GitHub
commit 372fc1d006
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -221,7 +221,7 @@ function PublicButtons({ rerender }: IPublicButtonsProps): React.ReactElement {
<SellSharesModal open={sellSharesOpen} onClose={() => setSellSharesOpen(false)} rerender={rerender} />
<Tooltip title={<Typography>Buy back shares you that previously issued or sold at market price.</Typography>}>
<span>
<Button disabled={corp.issuedShares > 0.5} onClick={() => setBuybackSharesOpen(true)}>
<Button disabled={corp.issuedShares <1} onClick={() => setBuybackSharesOpen(true)}>
Buyback shares
</Button>
</span>