Closed jtlong3rd closed 3 years ago
This PR introduces a useAttemptActionCallback, and illustrates its use by refactoring the existing useAttemptActionClickHandler.
useAttemptActionCallback
useAttemptActionClickHandler
Followup work:
WdkDepdendenciesContext
approvedStudies
/permissions
DataRestrictionUtils
action: string
This PR introduces a
useAttemptActionCallback
, and illustrates its use by refactoring the existinguseAttemptActionClickHandler
.Followup work:
WdkDepdendenciesContext
typo.approvedStudies
user property. (It has been superseded by the dataset access service's/permissions
endpoint.)DataRestrictionUtils
is converted to TypeScript, restrict type of theaction: string
argument accordingly.