From 681a086b75410bca1cf6f967fe7c6458bbd2c960 Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Sun, 8 May 2016 18:00:19 +0100 Subject: [PATCH] moved import of SyntheticEvent to the top of the file --- src/react-compat.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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,