mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-02 10:41:04 +00:00
Fix formatting sync in pills (#1856)
This commit is contained in:
parent
cc0d9653f0
commit
c93c16a60d
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,7 @@ function ExampleCasePill({ exampleId, version, icon, label, prompt }: Props) {
|
||||||
title: "Workflow Run Created",
|
title: "Workflow Run Created",
|
||||||
description: `Workflow run created successfully.`,
|
description: `Workflow run created successfully.`,
|
||||||
});
|
});
|
||||||
|
|
||||||
queryClient.invalidateQueries({
|
queryClient.invalidateQueries({
|
||||||
queryKey: ["workflowRuns"],
|
queryKey: ["workflowRuns"],
|
||||||
});
|
});
|
||||||
|
@ -42,6 +43,7 @@ function ExampleCasePill({ exampleId, version, icon, label, prompt }: Props) {
|
||||||
queryClient.invalidateQueries({
|
queryClient.invalidateQueries({
|
||||||
queryKey: ["runs"],
|
queryKey: ["runs"],
|
||||||
});
|
});
|
||||||
|
|
||||||
navigate(
|
navigate(
|
||||||
`/workflows/${response.data.workflow_permanent_id}/${response.data.workflow_run_id}`,
|
`/workflows/${response.data.workflow_permanent_id}/${response.data.workflow_run_id}`,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue