2016-11-11 18:19:18 +09:00
|
|
|
import Telescope from 'meteor/nova:lib';
|
|
|
|
import React, { PropTypes, Component } from 'react';
|
|
|
|
import Posts from "meteor/nova:posts";
|
2016-06-10 19:19:32 +09:00
|
|
|
|
2016-11-11 18:19:18 +09:00
|
|
|
const PostsHome = (props, context) => {
|
|
|
|
const terms = props.location && props.location.query;
|
|
|
|
return <Telescope.components.PostsList terms={terms}/>
|
|
|
|
};
|
2016-10-25 16:24:03 +09:00
|
|
|
|
2016-11-11 18:19:18 +09:00
|
|
|
PostsHome.displayName = "PostsHome";
|
2016-10-25 16:24:03 +09:00
|
|
|
|
2016-11-17 20:42:16 +01:00
|
|
|
Telescope.registerComponent('PostsHome', PostsHome);
|