Skip to content
Permalink
Browse files

Incorrect import reference of emptyFunction causes error when importi…

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 Facebook Github Bot 7
Geoff Lawson authored and Facebook Github Bot 7 committed Jun 6, 2016
1 parent 2e7a536 commit 2fd537c55dddd2a7e9906add5f6281b0444cc9b6
Showing with 1 addition and 1 deletion.
  1. +1 −1 Libraries/Experimental/SwipeableRow/SwipeableRow.js
@@ -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;

0 comments on commit 2fd537c

Please sign in to comment.
You can’t perform that action at this time.