2016-12-06 18:06:29 +01:00
|
|
|
import { Components, registerComponent } from 'meteor/nova:lib';
|
2016-11-11 18:19:18 +09:00
|
|
|
import React from 'react';
|
|
|
|
import Posts from "meteor/nova:posts";
|
2016-06-11 16:36:18 +09:00
|
|
|
|
2016-11-11 18:19:18 +09:00
|
|
|
const PostsSingle = (props, context) => {
|
2016-12-06 18:06:29 +01:00
|
|
|
return <Components.PostsPage documentId={props.params._id} />
|
2016-11-11 18:19:18 +09:00
|
|
|
};
|
2016-06-11 16:36:18 +09:00
|
|
|
|
2016-11-11 18:19:18 +09:00
|
|
|
PostsSingle.displayName = "PostsSingle";
|
2016-06-11 16:36:18 +09:00
|
|
|
|
2016-12-06 18:06:29 +01:00
|
|
|
registerComponent('PostsSingle', PostsSingle);
|