summaryrefslogtreecommitdiffstats
path: root/webapp/components/post_view/commented_on_files_message/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/post_view/commented_on_files_message/index.js')
-rw-r--r--webapp/components/post_view/commented_on_files_message/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/post_view/commented_on_files_message/index.js b/webapp/components/post_view/commented_on_files_message/index.js
index fd6aa7193..d55cff16b 100644
--- a/webapp/components/post_view/commented_on_files_message/index.js
+++ b/webapp/components/post_view/commented_on_files_message/index.js
@@ -15,7 +15,7 @@ function makeMapStateToProps() {
return function mapStateToProps(state, ownProps) {
let fileInfos;
if (ownProps.parentPostId) {
- fileInfos = selectFileInfosForPost(state, {id: ownProps.parentPostId});
+ fileInfos = selectFileInfosForPost(state, ownProps.parentPostId);
}
return {