File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
packages/react-relay/relay-hooks Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,6 @@ import type {UseRefetchableFragmentType} from './legacy/useRefetchableFragment';
16
16
import typeof useFragment from './useFragment' ;
17
17
import type { UsePaginationFragmentType } from './usePaginationFragment' ;
18
18
19
- const warning = require ( 'warning' ) ;
20
-
21
19
type HooksImplementation = {
22
20
useFragment : useFragment ,
23
21
usePaginationFragment : UsePaginationFragmentType ,
@@ -28,10 +26,6 @@ type HooksImplementation = {
28
26
let implementation : HooksImplementation | null = null ;
29
27
30
28
function inject ( impl : HooksImplementation ) : void {
31
- warning (
32
- implementation === null ,
33
- 'Relay HooksImplementation was injected twice.' ,
34
- ) ;
35
29
implementation = impl ;
36
30
}
37
31
You can’t perform that action at this time.
0 commit comments