diff --git a/index.js b/index.js index 4106ce2..c2801cd 100644 --- a/index.js +++ b/index.js @@ -152,10 +152,10 @@ var Carousel = React.createClass({ } pages = pages.map((page, i) => - ({page} - ); + ); contents = ( diff --git a/package.json b/package.json index c9d3421..e496d42 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-looped-carousel", - "version": "0.0.7", + "version": "0.0.8", "description": "Looped carousel for React Native", "author": "Phil Rukin (http://rukin.me)", "contributors": [{