import Telescope from 'meteor/nova:lib';
import React from 'react';
import Posts from 'meteor/nova:posts';
import { withPostsSingle } from 'meteor/nova:base-containers';
const PostsPage = (props) => {
if (props.data.loading) {
return
} else {
const post = props.data.post;
const htmlBody = {__html: post.htmlBody};
return (
{post.htmlBody ?
: null}
{/*
*/}
)
}
};
PostsPage.displayName = "PostsPage";
PostsPage.propTypes = {
document: React.PropTypes.object
}
Telescope.registerComponent('PostsPage', PostsPage, withPostsSingle);