Skip to content

Commit

Permalink
Converted export to one-liner.
Browse files Browse the repository at this point in the history
(cherry picked from commit 24604e5)
  • Loading branch information
patcon authored and thomassth committed Nov 24, 2024
1 parent 1b30ada commit 31f0c6c
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,4 @@ Comment.propTypes = {
currentItem: PropTypes.bool
}

export default connect((state) => {
return {
conversation: state.zid_metadata.zid_metadata
}
})(Comment)
export default connect((state) => ({ conversation: state.zid_metadata.zid_metadata }))(Comment)

0 comments on commit 31f0c6c

Please sign in to comment.