Skip to content

Commit

Permalink
add link to flow issue with forwardRef
Browse files Browse the repository at this point in the history
  • Loading branch information
buoyad committed Sep 17, 2018
1 parent d618879 commit bf6b917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/common-adapters/new-input.js
Expand Up @@ -91,7 +91,7 @@ class ReflessNewInput extends React.Component<DefaultProps & Props, State> {
)
}
}
// $FlowIssue doesn't know about forwardRef
// $FlowIssue doesn't know about forwardRef (https://github.com/facebook/flow/issues/6103)
const NewInput = React.forwardRef((props, ref) => <ReflessNewInput {...props} forwardedRef={ref} />)

const styles = styleSheetCreate({
Expand Down

0 comments on commit bf6b917

Please sign in to comment.