mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
21 lines
No EOL
595 B
JavaScript
21 lines
No EOL
595 B
JavaScript
import Telescope from 'meteor/nova:lib';
|
|
import React from 'react';
|
|
import { DocumentContainer } from "meteor/utilities:react-list-container";
|
|
import Users from 'meteor/nova:users';
|
|
|
|
const UsersSingle = (props, context) => {
|
|
return (
|
|
<DocumentContainer
|
|
collection={Users}
|
|
publication="users.single"
|
|
selector={{'telescope.slug': props.params.slug}}
|
|
terms={{'telescope.slug': props.params.slug}}
|
|
component={Telescope.components.UsersProfile}
|
|
documentPropName="user"
|
|
/>
|
|
)
|
|
};
|
|
|
|
UsersSingle.displayName = "UsersSingle";
|
|
|
|
module.exports = UsersSingle; |