Skip to content

Commit 4712bcc

Browse files
SamChou19815facebook-github-bot
authored andcommitted
Replace uppercase React import with lowercase one
Reviewed By: panagosg7 Differential Revision: D51406850 fbshipit-source-id: cbebefe74b48cd3229c3476b6c4c17282868efbb
1 parent 0675620 commit 4712bcc

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/react-relay/relay-hooks/EntryPointTypes.flow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/* eslint-disable no-unused-vars */
1515

1616
import type {JSResourceReference} from 'JSResourceReference';
17-
import type {AbstractComponent, ElementConfig} from 'React';
17+
import type {AbstractComponent, ElementConfig} from 'react';
1818
import type {
1919
CacheConfig,
2020
FetchPolicy,

packages/relay-test-utils/unwrapContainer.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
'use strict';
1313

14-
import type React from 'React';
1514
import type {
1615
$RelayProps,
1716
RelayPaginationProp,
@@ -25,10 +24,10 @@ const invariant = require('invariant');
2524
* Returns original component class wrapped by e.g. createFragmentContainer
2625
*/
2726
function unwrapContainer<Props>(
28-
ComponentClass: React.ComponentType<
27+
ComponentClass: React$ComponentType<
2928
$RelayProps<Props, RelayProp | RelayPaginationProp | RelayRefetchProp>,
3029
>,
31-
): React.ComponentType<Props> {
30+
): React$ComponentType<Props> {
3231
// $FlowExpectedError
3332
const unwrapped = ComponentClass.__ComponentClass;
3433
invariant(

0 commit comments

Comments
 (0)