Going Public Exploit Fix.

This commit is contained in:
tyasuh.taeragan@gmail.com 2021-10-29 16:20:38 -04:00
parent f99c3fd0cd
commit c9b4675061

@ -70,8 +70,9 @@ export function GoPublicModal(props: IProps): React.ReactElement {
type="number" type="number"
placeholder="Shares to issue" placeholder="Shares to issue"
onKeyDown={onKeyDown} onKeyDown={onKeyDown}
/> />
<Button sx={{ mx: 1 }} onClick={goPublic}> <Button disabled={shares < 0||shares>corp.numShares} sx={{ mx: 1 }} onClick={goPublic}>
Go Public Go Public
</Button> </Button>
</Box> </Box>