Skip to content
Snippets Groups Projects
Commit d10775ea authored by Allen Gilliland's avatar Allen Gilliland
Browse files

fix bug where it was giving every activity item the user name "You".

parent a40e56d0
No related merge requests found
......@@ -152,7 +152,7 @@ export default class Activity extends Component {
}
render() {
let { activity } = this.props;
let { activity, user } = this.props;
let { error } = this.state;
return (
......@@ -172,7 +172,7 @@ export default class Activity extends Component {
<li key={item.id} className="mt3">
<ActivityItem
item={item}
description={this.activityDescription(item, item.user)}
description={this.activityDescription(item, user)}
userColors={this.initialsCssClasses(item.user)}
/>
<ActivityStory story={this.activityDescription(item, item.user)} />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment