mirror of
https://github.com/facebook/react.git
synced 2026-02-27 03:07:57 +00:00
Flow upgrade to 0.188
ghstack-source-id: 5c359b97cc
Pull Request resolved: https://github.com/facebook/react/pull/25423
This commit is contained in:
@@ -18,6 +18,7 @@ function wrapWithHoc(Component, index) {
|
||||
// $FlowFixMe
|
||||
const displayName = Component.displayName || Component.name;
|
||||
|
||||
// $FlowFixMe[incompatible-type] found when upgrading Flow
|
||||
HOC.displayName = `withHoc${index}(${displayName})`;
|
||||
return HOC;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user