Skip to content

Commit

Permalink
Revert "Import React using namespace import rather than default."
Browse files Browse the repository at this point in the history
This reverts commit 78bc4bc, which caused
more problems than it solved.
  • Loading branch information
benjamn committed Nov 24, 2020
1 parent 62c81ff commit 113475b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/react/context/ApolloConsumer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as React from 'react';
import React from 'react';
import { invariant } from 'ts-invariant';

import { ApolloClient } from '../../core';
Expand Down
2 changes: 1 addition & 1 deletion src/react/context/ApolloContext.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as React from 'react';
import React from 'react';
import { ApolloClient } from '../../core';
import { canUseWeakMap } from '../../utilities';

Expand Down
2 changes: 1 addition & 1 deletion src/react/context/ApolloProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as React from 'react';
import React from 'react';
import { invariant } from 'ts-invariant';

import { ApolloClient } from '../../core';
Expand Down
2 changes: 1 addition & 1 deletion src/react/hooks/useApolloClient.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as React from 'react';
import React from 'react';
import { invariant } from 'ts-invariant';

import { ApolloClient } from '../../core';
Expand Down

0 comments on commit 113475b

Please sign in to comment.