Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanahuckova committed Sep 23, 2024
1 parent e990805 commit d2f7a67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/views/QueryEditorPackages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ const QueryEditorPackages = (props: Props) => {
}
}
return packageTypeOptions;
}, [props.packageType]);
// We want to run this only once when component is mounted and not every time packageType is changed
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

return (
<>
Expand Down

0 comments on commit d2f7a67

Please sign in to comment.