mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
12 lines
323 B
React
12 lines
323 B
React
![]() |
import React from 'react';
|
||
|
import Posts from 'meteor/vulcan:posts';
|
||
|
import { Link } from 'react-router';
|
||
|
|
||
|
const AdminUsersPosts = ({ user }) =>
|
||
|
<ul>
|
||
|
{user.posts && user.posts.map(post =>
|
||
|
<li key={post._id}><Link to={Posts.getLink(post)}>{post.title}</Link></li>
|
||
|
)}
|
||
|
</ul>
|
||
|
|
||
|
export default AdminUsersPosts;
|