mirror of
https://github.com/wassname/talk.git
synced 2026-07-23 13:10:20 +08:00
Add some comments
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user