summaryrefslogtreecommitdiffstats
path: root/web/react/components/post_list.jsx
diff options
context:
space:
mode:
authornickago <ngonella@calpoly.edu>2015-07-09 14:55:29 -0700
committernickago <ngonella@calpoly.edu>2015-07-09 14:55:29 -0700
commitfe6f9437ab141b3a433eed66faee60c1d8924a0d (patch)
tree65ad4c7b9fe34753900fb65b4d639d43d3e53b31 /web/react/components/post_list.jsx
parent702112dfb315462919d276a72be2936ad45d7ceb (diff)
downloadchat-fe6f9437ab141b3a433eed66faee60c1d8924a0d.tar.gz
chat-fe6f9437ab141b3a433eed66faee60c1d8924a0d.tar.bz2
chat-fe6f9437ab141b3a433eed66faee60c1d8924a0d.zip
Added comments for the force update functions
Diffstat (limited to 'web/react/components/post_list.jsx')
-rw-r--r--web/react/components/post_list.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/components/post_list.jsx b/web/react/components/post_list.jsx
index 2cccdff22..177e4a1db 100644
--- a/web/react/components/post_list.jsx
+++ b/web/react/components/post_list.jsx
@@ -196,6 +196,7 @@ module.exports = React.createClass({
}
this.setState(newState);
} else {
+ // Updates the timestamp on each post
this.forceUpdate()
}
},