Skip to content

Commit

Permalink
🔄 synced local 'skyvern-frontend/src/' with remote 'skyvern-frontend/…
Browse files Browse the repository at this point in the history
…src/'

<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Prevent refetching workflow data on window focus in `WorkflowRunParameters`.
>
>   - **Behavior**:
>     - Set `refetchOnWindowFocus: false` in `useQuery` in `WorkflowRunParameters` to prevent refetching workflow data on window focus.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=Skyvern-AI%2Fskyvern-cloud&utm_source=github&utm_medium=referral)<sup> for 07f764b63c5ad13a90f0a792cf07f2ee496084e1. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
  • Loading branch information
wintonzheng committed Oct 30, 2024
1 parent 8762865 commit ff8d27d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ function WorkflowRunParameters() {
.get(`/workflows/${workflowPermanentId}`)
.then((response) => response.data);
},
refetchOnWindowFocus: false,
});

const workflowParameters = workflow?.workflow_definition.parameters.filter(
Expand Down

0 comments on commit ff8d27d

Please sign in to comment.