diff --git a/src/react-compat.js b/src/react-compat.js index 1d8f0064f..93a1dc4e5 100644 --- a/src/react-compat.js +++ b/src/react-compat.js @@ -1,6 +1,7 @@ /* eslint react/no-deprecated: 0 */ import { REACT013 } from './version'; import objectAssign from 'object.assign'; +import SyntheticEvent from 'react/lib/SyntheticEvent'; let TestUtils; let createShallowRenderer; @@ -134,8 +135,6 @@ if (REACT013) { }; } -import SyntheticEvent from 'react/lib/SyntheticEvent'; - const { mockComponent, isElement,