mirror of
https://github.com/wassname/talk.git
synced 2026-07-08 01:39:30 +08:00
create comment history class
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import React from 'react';
|
||||
import {connect} from 'react-redux';
|
||||
|
||||
const mapStateToProps = state => {
|
||||
return {
|
||||
config: state.config.toJS(),
|
||||
items: state.items.toJS(),
|
||||
auth: state.auth.toJS()
|
||||
};
|
||||
};
|
||||
|
||||
class CommentHistory extends React.Component {
|
||||
render () {
|
||||
return (
|
||||
<div>Comment History</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default connect(mapStateToProps)(CommentHistory);
|
||||
Reference in New Issue
Block a user