Skip to content

Commit 91126f1

Browse files
committed
fix: Reorder dialog close
1 parent 163acfc commit 91126f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dashboard/src/components/run-cancel-action.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ export function RunCancelAction({
5151
workflowRunId: runId,
5252
},
5353
});
54-
setIsOpen(false);
5554
await onCanceled?.();
55+
setIsOpen(false);
5656
} catch (caughtError) {
5757
setError(getErrorMessage(caughtError));
5858
} finally {

0 commit comments

Comments
 (0)