-
Dest.
-
Hotels
+
this._scrollView = ref}>
+
+ { tileMedia }
+
-
- {previewText}
+
+ {previewText}
+
@@ -74,7 +103,6 @@ export default DestinationTile;
DestinationTile.propTypes = {
tile: PropTypes.object,
- filmInView: PropTypes.bool,
dispatch: PropTypes.func,
videoUrl: PropTypes.string
};
diff --git a/lib/destination-tile/test/index.test.js b/lib/destination-tile/test/index.test.js
index f4966f1..bd80f8d 100644
--- a/lib/destination-tile/test/index.test.js
+++ b/lib/destination-tile/test/index.test.js
@@ -21,7 +21,7 @@ describe('Component', function () {
const children = wrapper.children().nodes;
describe('
', function () {
it('should render our DestinationTile component', function (done) {
- expect(children).to.have.length(2);
+ expect(children).to.have.length(1);
done();
});
});
diff --git a/src/components/search-results/index.js b/src/components/search-results/index.js
index 4b60dd7..9d3cb56 100644
--- a/src/components/search-results/index.js
+++ b/src/components/search-results/index.js
@@ -165,7 +165,6 @@ class SearchResults extends Component {
);
} else if (item.tile.type === 'destination' && contentExists) {
- console.log('destination tile', item.tile);
return (