Skip to content

Commit

Permalink
Replace uppercase React import with lowercase one
Browse files Browse the repository at this point in the history
Reviewed By: panagosg7

Differential Revision: D51406850

fbshipit-source-id: cbebefe74b48cd3229c3476b6c4c17282868efbb
  • Loading branch information
SamChou19815 authored and facebook-github-bot committed Nov 17, 2023
1 parent 0675620 commit 4712bcc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/react-relay/relay-hooks/EntryPointTypes.flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/* eslint-disable no-unused-vars */

import type {JSResourceReference} from 'JSResourceReference';
import type {AbstractComponent, ElementConfig} from 'React';
import type {AbstractComponent, ElementConfig} from 'react';
import type {
CacheConfig,
FetchPolicy,
Expand Down
5 changes: 2 additions & 3 deletions packages/relay-test-utils/unwrapContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

'use strict';

import type React from 'React';
import type {
$RelayProps,
RelayPaginationProp,
Expand All @@ -25,10 +24,10 @@ const invariant = require('invariant');
* Returns original component class wrapped by e.g. createFragmentContainer
*/
function unwrapContainer<Props>(
ComponentClass: React.ComponentType<
ComponentClass: React$ComponentType<
$RelayProps<Props, RelayProp | RelayPaginationProp | RelayRefetchProp>,
>,
): React.ComponentType<Props> {
): React$ComponentType<Props> {
// $FlowExpectedError
const unwrapped = ComponentClass.__ComponentClass;
invariant(
Expand Down

0 comments on commit 4712bcc

Please sign in to comment.