Skip to content

Commit

Permalink
remove duplicate imports
Browse files Browse the repository at this point in the history
  • Loading branch information
josiahsrc committed Feb 15, 2023
1 parent 6b2d8e8 commit 68eae2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/ResizeDetector.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as React from 'react';
import { PureComponent, isValidElement, cloneElement, createRef, ReactNode, ReactElement, RefObject } from 'react';
import React, { PureComponent, isValidElement, cloneElement, createRef, ReactNode, ReactElement, RefObject } from 'react';
import { findDOMNode } from 'react-dom';

import { patchResizeHandler, isFunction, isSSR, isDOMElement, createNotifier } from './utils';
Expand Down
3 changes: 1 addition & 2 deletions src/withResizeDetector.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as React from 'react';
import { Component, createRef, forwardRef, ComponentType, ForwardedRef, MutableRefObject } from 'react';
import React, { Component, createRef, forwardRef, ComponentType, ForwardedRef, MutableRefObject } from 'react';

import ResizeDetector, { ResizeDetectorProps } from './ResizeDetector';

Expand Down

0 comments on commit 68eae2f

Please sign in to comment.