mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 02:03:58 +01:00
Merge pull request #1416 from danielyxie/dev
fix corp ui text fields now clearing on city change
This commit is contained in:
commit
1604aad151
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>
|
</Tabs>
|
||||||
|
|
||||||
{city !== "Expand" ? (
|
{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} />
|
<ExpandNewCity cityStateSetter={setCity} />
|
||||||
)}
|
)}
|
||||||
|
Loading…
Reference in New Issue
Block a user