Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pinarruiz committed May 31, 2024
1 parent 8ebe14b commit a58dbcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/variables/envscopebutton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function EnvScopeButton(props: EnvScopeButtonProps) {
5000,
);

const scopedDataQUeryKey = [
const scopedDataQueryKey = [
"variableQuery",
userData.accessToken,
props.projectId,
Expand All @@ -32,7 +32,7 @@ export default function EnvScopeButton(props: EnvScopeButtonProps) {
];

const { data: scopedData, status: scopedStatus } = useQuery({
queryKey: scopedDataQUeryKey,
queryKey: scopedDataQueryKey,
enabled:
userData.accessToken !== undefined &&
userData.accessToken !== null &&
Expand Down Expand Up @@ -104,7 +104,7 @@ export default function EnvScopeButton(props: EnvScopeButtonProps) {
enabled: !envScopeIsEnabled,
});
await queryClient.invalidateQueries({
queryKey: scopedDataQUeryKey,
queryKey: scopedDataQueryKey,
});

await queryClient.invalidateQueries({
Expand Down

0 comments on commit a58dbcd

Please sign in to comment.