thefrontside / playhouse

Frontside's Backstage Portal
https://backstage.frontside.services/
25 stars 13 forks source link

Provide a way to clear useRunWorkflow state #323

Closed taras closed 1 year ago

taras commented 1 year ago

We need a way to reset the state of useRunWorkflow.

It looks like we just need to reset taskId and taskStatus in here https://github.com/thefrontside/playhouse/blob/main/plugins/scaffolder-frontend-workflow/src/hooks/useRunWorkflow.ts#L23-L26C22