Skip to content

Commit bf1e833

Browse files
Form missing dependencies fix
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 5c6ecb0 commit bf1e833

File tree

1 file changed

+1
-2
lines changed
  • apps/webapp/app/routes/_app.orgs.$organizationSlug.settings.billing-alerts

1 file changed

+1
-2
lines changed

apps/webapp/app/routes/_app.orgs.$organizationSlug.settings.billing-alerts/route.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,7 @@ export default function Page() {
170170
if (alerts.emails.length > 0) {
171171
requestIntent(form.ref.current ?? undefined, list.append(emails.name));
172172
}
173-
}, []);
174-
173+
}, [alerts.emails, emails.name, form.ref]);
175174
const isFree = !plan?.v3Subscription?.isPaying;
176175

177176
return (

0 commit comments

Comments
 (0)