Skip to content

Commit

Permalink
Default export to empty object (lugg#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
oblador authored and Pedro Belo committed Nov 29, 2016
1 parent 983355b commit a4ad07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
// iOS: config vars set in xcconfig and exposed via ReactNativeConfig.m
import { NativeModules } from 'react-native';

export default NativeModules.ReactNativeConfig;
export default NativeModules.ReactNativeConfig || {};

0 comments on commit a4ad07d

Please sign in to comment.