chore: Convert <Text /> component to span by default

This commit is contained in:
Tom Moor
2024-01-30 22:49:31 -05:00
parent a960d8cee5
commit 5ce8827a8c
56 changed files with 93 additions and 97 deletions

View File

@@ -45,7 +45,7 @@ function Webhooks() {
}
>
<Heading>{t("Webhooks")}</Heading>
<Text type="secondary">
<Text as="p" type="secondary">
<Trans>
Webhooks can be used to notify your application when events happen in{" "}
{{ appName }}. Events are sent as a https request with a JSON payload

View File

@@ -231,7 +231,7 @@ function WebhookSubscriptionForm({ handleSubmit, webhookSubscription }: Props) {
return (
<form onSubmit={formHandleSubmit(handleSubmit)}>
<Text type="secondary">
<Text as="p" type="secondary">
<Trans>
Provide a descriptive name for this webhook and the URL we should send
a POST request to when matching events are created.
@@ -266,7 +266,7 @@ function WebhookSubscriptionForm({ handleSubmit, webhookSubscription }: Props) {
})}
/>
</TextFields>
<Text type="secondary">
<Text as="p" type="secondary">
<Trans>
Subscribe to all events, groups, or individual events. We recommend
only subscribing to the minimum amount of events that your application