Add some comments

This commit is contained in:
Chi Vinh Le
2017-08-03 21:50:16 +07:00
parent b8f24b952b
commit 5d2b9439d8
@@ -13,6 +13,10 @@ function getFragmentId(assetId) {
return `Asset_${assetId}`;
}
/**
* AutomaticAssetClosure updates the graphql state of the provide asset
* to `isClosed=true` when passed `closedAt`.
*/
class AutomaticAssetClosure extends React.Component {
static contextTypes = {
client: PropTypes.object.isRequired,