mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
19 lines
474 B
React
19 lines
474 B
React
![]() |
import React from 'react';
|
||
|
import { DocumentContainer } from "meteor/utilities:react-list-container";
|
||
|
|
||
|
const PostsSingle = (props, context) => {
|
||
|
return (
|
||
|
<DocumentContainer
|
||
|
collection={Posts}
|
||
|
publication="posts.single"
|
||
|
selector={{_id: props.params._id}}
|
||
|
terms={props.params}
|
||
|
joins={Posts.getJoins()}
|
||
|
component={Telescope.components.PostsPage}
|
||
|
/>
|
||
|
)
|
||
|
};
|
||
|
|
||
|
PostsSingle.displayName = "PostsSingle";
|
||
|
|
||
|
module.exports = PostsSingle;
|