mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 01:33:54 +01:00
fix corp ui text fields now clearing on city change
This commit is contained in:
parent
d58e2df9c7
commit
27fc90c87a
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -38,7 +38,13 @@ export function CityTabs(props: IProps): React.ReactElement {
|
||||
</Tabs>
|
||||
|
||||
{city !== "Expand" ? (
|
||||
<Industry rerender={props.rerender} city={city} warehouse={division.warehouses[city]} office={office} />
|
||||
<Industry
|
||||
key={city}
|
||||
rerender={props.rerender}
|
||||
city={city}
|
||||
warehouse={division.warehouses[city]}
|
||||
office={office}
|
||||
/>
|
||||
) : (
|
||||
<ExpandNewCity cityStateSetter={setCity} />
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user