Skip to content

Commit

Permalink
Suppress forwardRef flow error on WWW
Browse files Browse the repository at this point in the history
Reviewed By: kassens

Differential Revision: D49190660

fbshipit-source-id: 93513087d4644aa7b76a643ebcab15bacbee534d
  • Loading branch information
alunyov authored and facebook-github-bot committed Sep 12, 2023
1 parent bd95f00 commit 79ba933
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react-relay/buildReactRelayContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ function buildReactRelayContainer<TBase: React$ComponentType<any>>(
);
}
forwardRef.displayName = containerName;
/* $FlowFixMe[incompatible-call] (site=www) Error found while fixing forwardRef and
* TRefFor types */
const ForwardContainer = React.forwardRef(forwardRef);

if (__DEV__) {
Expand Down

0 comments on commit 79ba933

Please sign in to comment.