Skip to content

Commit

Permalink
fix(web): remove billingQuery from useEffect dependencies (#1209)
Browse files Browse the repository at this point in the history
  • Loading branch information
newfish-cmyk authored Jun 1, 2023
1 parent 1e77c01 commit 708f021
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/src/pages/home/mods/CreateAppModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ const CreateAppModal = (props: {
if (isOpen) {
billingQuery.refetch();
}
}, [isOpen, bundle, billingQuery]);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [isOpen, bundle]);

const updateAppMutation = useMutation((params: any) => ApplicationControllerUpdateName(params));
const createAppMutation = useMutation((params: any) => ApplicationControllerCreate(params));
Expand Down

0 comments on commit 708f021

Please sign in to comment.