Actions
Bug #28443
closedReactApp component fails with webpack-4
Description
Asana task assigned to Avi Sharvit
Since the Layout exported with wrappers, it fails when calling `Layout.propTypes.data`
```js
// Layout/index.js
export default withRouter(connect(mapStateToProps, mapDispatchToProps)(Layout));
// ReactApp.js
import Layout from '../components/Layout';
layout: Layout.propTypes.data,
```
Need to import the propTypes directly
Updated by The Foreman Bot almost 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/7234 added
Updated by Avi Sharvit almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset ec59833ff341f65627d1d912d974a448be350cde.
Actions