mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
11 lines
397 B
JavaScript
11 lines
397 B
JavaScript
import { Components, registerComponent } from 'meteor/nova:core';
|
|
import React, { PropTypes, Component } from 'react';
|
|
|
|
const PostsHome = (props, context) => {
|
|
const terms = _.isEmpty(props.location && props.location.query) ? {view: 'top'}: props.location.query;
|
|
return <Components.PostsList terms={terms}/>
|
|
};
|
|
|
|
PostsHome.displayName = "PostsHome";
|
|
|
|
registerComponent('PostsHome', PostsHome);
|