City hall no longer just has nothing when you can't create corp

This commit is contained in:
Olivier Gagnon 2021-05-17 17:56:31 -04:00
parent 4ec14460b6
commit de113a7b92

@ -108,7 +108,11 @@ export class SpecialLocation extends React.Component<IProps, IState> {
}
renderCreateCorporation(): React.ReactNode {
if (!this.props.p.canAccessCorporation()) { return null; }
if (!this.props.p.canAccessCorporation()) {
return <>
<p><i>A business man is yelling at a clerk. You should come back later.</i></p>
</>;
}
return (
<AutoupdatingStdButton
disabled={!this.props.p.canAccessCorporation() || this.props.p.hasCorporation()}