/* Pics Home component */ import React from 'react'; import { Components, withCurrentUser } from 'meteor/vulcan:core'; import PicsList from './PicsList.jsx'; import Users from 'meteor/vulcan:users'; import Button from 'react-bootstrap/lib/Button'; const PicsHome = ({results = [], currentUser, loading, loadMore, count, totalCount}) => { if (currentUser) { return (
{Users.canDo(currentUser, 'pics.view') ? : Buy membership} /> }
) } else { return (

Please sign up or log in to access this content

) } }; export default withCurrentUser(PicsHome);