Skip to content

Commit

Permalink
Merge pull request #232 from josiahsrc/master
Browse files Browse the repository at this point in the history
remove duplicate imports
  • Loading branch information
maslianok committed Feb 18, 2023
2 parents db96dd1 + 68eae2f commit fdf1243
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 fdf1243

Please sign in to comment.