Update LogBoxManager.tsx

This commit is contained in:
Snarling 2022-04-24 04:49:31 -04:00
parent 4e64d6df5b
commit bb5cc82226

@ -267,12 +267,11 @@ function LogWindow(props: IProps): React.ReactElement {
{title()} {title()}
</Typography> </Typography>
{!workerScripts.has(script.pid) && ( {!workerScripts.has(script.pid) ? (
<Button className={classes.titleButton} onClick={run} onTouchEnd={run}> <Button className={classes.titleButton} onClick={run} onTouchEnd={run}>
Run Run
</Button> </Button>
)} ) : (
{workerScripts.has(script.pid) && (
<Button className={classes.titleButton} onClick={kill} onTouchEnd={kill}> <Button className={classes.titleButton} onClick={kill} onTouchEnd={kill}>
Kill Kill
</Button> </Button>