forked from Gitlink/forgeplus-react
19 lines
464 B
JavaScript
19 lines
464 B
JavaScript
import React, { Component } from "react";
|
|
import CommonLists from "./common_lists"
|
|
class WatcherUsers extends Component {
|
|
render() {
|
|
const {user, current_user , match, fetchUser } = this.props;
|
|
return (
|
|
user && user.login &&
|
|
<CommonLists
|
|
userType="watch_users"
|
|
login={user.login}
|
|
current_user={current_user}
|
|
fetchUser={fetchUser}
|
|
match={match}
|
|
/>
|
|
);
|
|
}
|
|
}
|
|
export default WatcherUsers;
|