Fix formatting sync in pills (#1856)

This commit is contained in:
Salih Altun
2025-02-28 17:59:36 +03:00
committed by GitHub
parent cc0d9653f0
commit c93c16a60d

View File

@@ -33,6 +33,7 @@ function ExampleCasePill({ exampleId, version, icon, label, prompt }: Props) {
title: "Workflow Run Created",
description: `Workflow run created successfully.`,
});
queryClient.invalidateQueries({
queryKey: ["workflowRuns"],
});
@@ -42,6 +43,7 @@ function ExampleCasePill({ exampleId, version, icon, label, prompt }: Props) {
queryClient.invalidateQueries({
queryKey: ["runs"],
});
navigate(
`/workflows/${response.data.workflow_permanent_id}/${response.data.workflow_run_id}`,
);