Skip to content

Commit

Permalink
Incorrect import reference of emptyFunction causes error when importi…
Browse files Browse the repository at this point in the history
Summary:
Experimental component SwipeableListView fails to import due to incorrect import reference.  Followed example use of import of emptyFunction found in https://github.com/facebook/react-native/blob/master/Libraries/Components/TextInput/TextInput.js#L31
Closes #7954

Differential Revision: D3394202

fbshipit-source-id: db8ddc9d9635878f0ce1fb969ef6c6e3c27d63f3
  • Loading branch information
Geoff Lawson authored and Facebook Github Bot 7 committed Jun 6, 2016
1 parent 2e7a536 commit 2fd537c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Experimental/SwipeableRow/SwipeableRow.js
Expand Up @@ -31,7 +31,7 @@ const View = require('View');

const {PropTypes} = React;

const emptyFunction = require('emptyFunction');
const emptyFunction = require('fbjs/lib/emptyFunction');

// Position of the left of the swipable item when closed
const CLOSED_LEFT_POSITION = 0;
Expand Down

0 comments on commit 2fd537c

Please sign in to comment.