Skip to content

Instantly share code, notes, and snippets.

@dai-shi
Created March 28, 2016 08:45
Show Gist options
  • Select an option

  • Save dai-shi/efa9d777e10276e44fe6 to your computer and use it in GitHub Desktop.

Select an option

Save dai-shi/efa9d777e10276e44fe6 to your computer and use it in GitHub Desktop.
diff --git a/imports/ui/Task.jsx b/imports/ui/Task.jsx
index ee040c5..deba74a 100644
--- a/imports/ui/Task.jsx
+++ b/imports/ui/Task.jsx
@@ -42,4 +42,5 @@ Task.propTypes = {
// This component gets the task to display through a React prop.
// We can use propTypes to indicate it is required
task: PropTypes.object.isRequired,
+ showPrivateButton: React.PropTypes.bool.isRequired,
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment