Closed taras closed 1 year ago
We need a way to reset the state of useRunWorkflow.
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
taskId
taskStatus
We need a way to reset the state of
useRunWorkflow
.It looks like we just need to reset
taskId
andtaskStatus
in here https://github.com/thefrontside/playhouse/blob/main/plugins/scaffolder-frontend-workflow/src/hooks/useRunWorkflow.ts#L23-L26C22