Skip to content

Commit

Permalink
misc: added placeholder for incoming webhook url
Browse files Browse the repository at this point in the history
  • Loading branch information
sheensantoscapadngan committed Jul 2, 2024
1 parent ed5a7d7 commit ce5dbca
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,12 @@ export const AddWebhookForm = ({
isError={Boolean(errors?.webhookUrl)}
errorText={errors?.webhookUrl?.message}
>
<Input {...register("webhookUrl")} />
<Input
placeholder={
webhookType === WebhookType.SLACK ? "https://hooks.slack.com/services/..." : ""
}
{...register("webhookUrl")}
/>
</FormControl>
</div>
<div className="mt-8 flex items-center">
Expand Down

0 comments on commit ce5dbca

Please sign in to comment.