Skip to content

Commit

Permalink
moved import of SyntheticEvent to the top of the file
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuno Campos committed May 8, 2016
1 parent aec6a41 commit 681a086
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/react-compat.js
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -134,8 +135,6 @@ if (REACT013) {
};
}

import SyntheticEvent from 'react/lib/SyntheticEvent';

const {
mockComponent,
isElement,
Expand Down

0 comments on commit 681a086

Please sign in to comment.