This commit is contained in:
mgabdev
2020-05-03 01:22:49 -04:00
parent 196a906cec
commit 055b5a430f
85 changed files with 1110 additions and 1051 deletions

View File

@@ -56,7 +56,7 @@ const makeMapStateToProps = () => {
const ids = [status.get('id')]
const r = state.getIn(['contexts', 'replies', ids[0]])
console.log("r:", r)
// console.log("r:", r)
while (ids.length > 0) {
let id = ids.shift()
@@ -253,6 +253,15 @@ const mapDispatchToProps = (dispatch) => ({
onFetchComments(statusId) {
dispatch(fetchComments(statusId))
},
onOpenLikes(status) {
dispatch(openModal('STATUS_LIKES', { status }))
},
onOpenReposts(status) {
dispatch(openModal('STATUS_REPOSTS', { status }))
},
});
export default connect(makeMapStateToProps, mapDispatchToProps)(Status);