Skip to content

Instantly share code, notes, and snippets.

@dai-shi
Created March 28, 2016 02:00
Show Gist options
  • Save dai-shi/6f47116b07664e6979d5 to your computer and use it in GitHub Desktop.
Save dai-shi/6f47116b07664e6979d5 to your computer and use it in GitHub Desktop.
diff --git a/imports/ui/Task.jsx b/imports/ui/Task.jsx
index 3140871..5650fa0 100644
--- a/imports/ui/Task.jsx
+++ b/imports/ui/Task.jsx
@@ -33,7 +33,9 @@ export default class Task extends Component {
onClick={this.toggleChecked.bind(this)}
/>
- <span className="text">{this.props.task.text}</span>
+ <span className="text">
+ <strong>{this.props.task.username}</strong>: {this.props.task.text}
+ </span>
</li>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment