From 4a1388e0588ecbc840dc73db838c8dcaba5eb39a Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Tue, 13 Apr 2021 23:42:15 -0400 Subject: [PATCH] Update proptypes --- src/components/Assignment/Assignment.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Assignment/Assignment.js b/src/components/Assignment/Assignment.js index d17385f..5d7ce42 100644 --- a/src/components/Assignment/Assignment.js +++ b/src/components/Assignment/Assignment.js @@ -12,10 +12,10 @@ export default function Assignment({ by, to, datetime }){ } Assignment.propTypes = { - /** The person who changed the assignment. */ + /** The career account alias of the person who changed the assignment. */ "by": PropTypes.string.isRequired, - /** The person the item was assigned to. */ + /** The career account alias of the person the item was assigned to. */ "to": PropTypes.string.isRequired, - /** The time the assignment was changed in ISO 8601 format. */ + /** Any string, number or Date object understood by React Relative Time. See https://github.com/aharshac/react-relative-time#readme. */ "datetime": PropTypes.string.isRequired } \ No newline at end of file