Openstatus www.openstatus.dev

๐Ÿ› pagerduty (#1162)

* ๐Ÿ› pagerduty

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

authored by

Thibault Le Ouay
autofix-ci[bot]
and committed by
GitHub
5b60665f 1f122887

+5 -1
+1 -1
apps/web/src/components/forms/notification/form.tsx
··· 104 104 return ( 105 105 <Form {...form}> 106 106 <form 107 - onSubmit={form.handleSubmit(onSubmit, console.log)} 107 + onSubmit={form.handleSubmit(onSubmit)} 108 108 id="notification-form" // we use a form id to connect the submit button to the form (as we also have the form nested inside of `MonitorForm`) 109 109 className="flex flex-col gap-4" 110 110 >
+4
apps/web/src/components/forms/notification/provider/section-pagerduty.tsx
··· 36 36 37 37 const data = result.data; 38 38 39 + if (config) { 40 + form.setValue("data.pagerduty", config); 41 + } 42 + 39 43 async function sendTestAlert() { 40 44 startTestTransition(async () => { 41 45 const isSuccessfull = await sendPagerDutyTestAlert(