Skip to content

Commit c15b149

Browse files
alai97alexisintech
andauthored
Update Anchor Links + Typos (#1998)
Co-authored-by: Alexis Aguilar <[email protected]>
1 parent ca4def4 commit c15b149

File tree

9 files changed

+20
-22
lines changed

9 files changed

+20
-22
lines changed

docs/authentication/configuration/email-sms-templates.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ It will be useful to take a look at the following terms as they will reappear in
2323

2424
### Revolvapp WYSIWYG email editor plugin
2525

26-
The email editor uses the [Revolvapp](https://imperavi.com/redactor/legacy/revolvapp) email template editor plugin by Imperavi. To acquaint yourself with the template markup syntax, consult [Imperavi's docs](https://imperavi.com/redactor/legacy/revolvapp/docs/syntax/quick-start).
26+
The email editor uses the [Revolvapp](https://imperavi.com/legacy/revolvapp/) email template editor plugin by Imperavi. To acquaint yourself with the template markup syntax, consult [Imperavi's docs](https://imperavi.com/legacy/revolvapp/docs/syntax/quick-start).
2727

2828
As you will see, the template markup is an HTML-like language and each type of node supports its own set of attributes which control its behavior. A lot of the attributes are borrowed from HTML itself.
2929

docs/components/organization/organization-profile.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: '`<OrganizationProfile />` component'
3-
description: Clerks <OrganizationProfile /> component is used to render a beautiful, full-featured organization management UI that allows users to manage their organization profile and security settings.
3+
description: Clerk's <OrganizationProfile /> component is used to render a beautiful, full-featured organization management UI that allows users to manage their organization profile and security settings.
44
---
55

66
![The \<OrganizationProfile /> component renders a full-featured organization management UI that allows users to manage their organization profile and security settings.](/docs/images/ui-components/organization-profile.png)

docs/custom-flows/manage-sms-based-mfa.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ One of the options that Clerk supports for MFA is **SMS verification codes**. Th
9999
if (!user) return null
100100

101101
// Check if any phone numbers aren't reserved for MFA
102-
const availalableForMfaPhones = user.phoneNumbers
102+
const availableForMfaPhones = user.phoneNumbers
103103
.filter((ph) => ph.verification.status === 'verified')
104104
.filter((ph) => !ph.reservedForSecondFactor)
105105

@@ -111,7 +111,7 @@ One of the options that Clerk supports for MFA is **SMS verification codes**. Th
111111
await user.reload()
112112
}
113113

114-
if (availalableForMfaPhones.length === 0) {
114+
if (availableForMfaPhones.length === 0) {
115115
return <p>There are currently no verified phone numbers available to be reserved for MFA.</p>
116116
}
117117

@@ -120,7 +120,7 @@ One of the options that Clerk supports for MFA is **SMS verification codes**. Th
120120
<h2>Phone numbers that are not reserved for MFA</h2>
121121

122122
<ul>
123-
{availalableForMfaPhones.map((phone) => {
123+
{availableForMfaPhones.map((phone) => {
124124
return (
125125
<li key={phone.id} style={{ display: 'flex', gap: '10px' }}>
126126
<p>{phone.phoneNumber}</p>

docs/integrations/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ description: Learn about the available integrations with Clerk.
4343
---
4444

4545
- [Nhost](/docs/integrations/databases/nhost)
46-
- The open source alternative to Firebase with GraphQL seemlessly integrates with Clerk to provide authenticated queries.
46+
- The open source alternative to Firebase with GraphQL seamlessly integrates with Clerk to provide authenticated queries.
4747
- {<svg viewBox="0 0 23 24" fill="none"><path fill="#0052CD" d="M20.406 5.144 12.041.323a2.451 2.451 0 0 0-2.434 0A2.434 2.434 0 0 0 8.39 2.425v.629l-.545-.315a2.451 2.451 0 0 0-2.435 0 2.434 2.434 0 0 0-1.215 2.106v.629l-.546-.315a2.45 2.45 0 0 0-2.433 0A2.434 2.434 0 0 0 0 7.262v15.102a1.144 1.144 0 0 0 1.853.896L6 19.995l6.398 3.685a1.16 1.16 0 0 0 1.144 0c.353-.203.572-.581.572-.989v-9.086a4.198 4.198 0 0 0-2.098-3.626L9.92 8.769V2.428a.908.908 0 0 1 1.361-.784l8.365 4.819a2.672 2.672 0 0 1 1.335 2.307v11.317a.907.907 0 0 1-.454.784l-2.216 1.277V11.186a4.196 4.196 0 0 0-2.098-3.626l-5.15-2.966V6.35l4.387 2.528a2.67 2.67 0 0 1 1.335 2.306v11.62c0 .404.22.785.573.989a1.162 1.162 0 0 0 1.144 0l2.79-1.608a2.436 2.436 0 0 0 1.216-2.103V8.766a4.207 4.207 0 0 0-2.102-3.622Zm-9.156 6.152a2.67 2.67 0 0 1 1.335 2.308v8.43l-5.297-3.051 1.7-1.337a2.41 2.41 0 0 0 .928-1.907V10.53l1.335.767h-.001v-.001ZM8.39 9.65v6.088c0 .28-.127.54-.346.71l-6.52 5.13V7.26a.907.907 0 0 1 1.361-.784l1.31.754v10.793l1.525-1.2V4.843a.907.907 0 0 1 1.362-.783l1.308.753v3.076L6.866 7.01v1.76l1.526.88H8.39Z"/></svg>}
4848

4949
---

docs/references/react/use-organization.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The `useOrganization()` hook retrieves attributes of the currently active organi
2727
- `memberships`
2828
- `true | { role?: OrganizationCustomRoleKey[] } & { SharedProperties }`
2929

30-
If set to `true`, all default properties will be used. Otherwise, accepts an object with an optional `role` property of type [`OrganizationCustomRoleKey[]`](#organization-custome-role-key) and any of the properties described in [Shared properties](#shared-properties).
30+
If set to `true`, all default properties will be used. Otherwise, accepts an object with an optional `role` property of type [`OrganizationCustomRoleKey[]`](#organization-custom-role-key) and any of the properties described in [Shared properties](#shared-properties).
3131

3232
---
3333

docs/upgrade-guides/core-2/component-redesign.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,10 @@ The sections below contain more info on each change made to the customization id
234234
'userProfile.start.phoneNumbersSection.detailsSubtitle__unverified',
235235
'userProfile.start.phoneNumbersSection.destructiveActionTitle',
236236
'userProfile.start.phoneNumbersSection.destructiveActionSubtitle',
237-
'userProfile.start.connectedAccountsSection.title__conectionFailed',
237+
'userProfile.start.connectedAccountsSection.title__connectionFailed',
238238
'userProfile.start.connectedAccountsSection.title__connectionFailed',
239239
'userProfile.start.connectedAccountsSection.title__reauthorize',
240-
'userProfile.start.connectedAccountsSection.actionLabel__conectionFailed',
240+
'userProfile.start.connectedAccountsSection.actionLabel__connectionFailed',
241241
'userProfile.start.connectedAccountsSection.destructiveActionSubtitle',
242242
'userProfile.start.connectedAccountsSection.destructiveActionAccordionSubtitle',
243243
'userProfile.start.mfaSection.phoneCode.destructiveActionTitle',
@@ -284,7 +284,7 @@ The sections below contain more info on each change made to the customization id
284284
```js
285285
import { omit } from 'lodash-es'
286286

287-
const localization = omit(yourOldOject, deletedKeys)
287+
const localization = omit(yourOldObject, deletedKeys)
288288
```
289289
</AccordionPanel>
290290

docs/upgrade-guides/core-2/remix.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ There are a number of Clerk primitives that contain images, and previously they
219219
</AccordionPanel>
220220

221221
<AccordionPanel>
222-
The `avatarUrl` property of any [`ExternalAcccount` object](/docs/references/javascript/types/external-account) has been changed to `imageUrl`.
222+
The `avatarUrl` property of any [`ExternalAccount` object](/docs/references/javascript/types/external-account) has been changed to `imageUrl`.
223223
</AccordionPanel>
224224

225225
<AccordionPanel>

docs/users/invitations.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ You can create an invitation in the [Clerk Dashboard](#using-clerk-dashboard) or
2121
To invite users, navigate to the **Users** page from the top-level menu, then select the **Invitations** tab. Select **Invite user** and enter the email address of the person you want to invite. Optionally, set an expiration date for the invitation. Once you've entered the necessary details, select **Send invite** to send the invitation email.
2222

2323
> [!TIP]
24-
> The same page will be available throught the top-level menu, when you are in the **Restricted** sign-up mode.
24+
> The same page will be available through the top-level menu, when you are in the **Restricted** sign-up mode.
2525
2626
### Using Backend API
2727

@@ -95,7 +95,7 @@ You can revoke an invitation at any time. Revoking an invitation prevents the us
9595
To revoke an invitation, navigate to the **Users** page from the top-level menu, then select the **Invitations** tab. Find the invitation you want to revoke and select **Revoke** from the dropdown menu on the right.
9696

9797
> [!TIP]
98-
> The same page will be available throught the top-level menu, when you are in the **Restricted** sign-up mode.
98+
> The same page will be available through the top-level menu, when you are in the **Restricted** sign-up mode.
9999
100100
### Using Backend API
101101

docs/webhooks/debug-your-webhooks.mdx

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ Developing with webhooks can be a new experience for developers. It can be hard
99

1010
When you or a user of your application performs certain actions, a webhook can be triggered. You can see the full list of [webhook events](/docs/webhooks/overview#supported-webhook-events) for a list of the actions that could result in a Webhook. Depending on the events subscribed to in the [**Webhooks**](https://dashboard.clerk.com/last-active?path=webhooks) page in the Clerk Dashboard, a webhook event will be triggered and sent to the specified endpoint in your application.
1111

12-
When you are developing on your localhost, your application is not internet facing and can't receive the webhook request. You will need to use a tool that creates a tunnel from the internet to your localhost. These tools will provide temporary or permanent URLs depending on the tool and the plan you subscribe to. Popular tools include `ngrok`, `localtunnel` and `Cloudflare Tunnel`.
12+
When you are developing on your localhost, your application is not internet facing and can't receive the webhook request. You will need to use a tool that creates a tunnel from the internet to your localhost. These tools will provide temporary or permanent URLs depending on the tool and the plan you subscribe to. Popular tools include `ngrok`, `localtunnel`, and `Cloudflare Tunnel`.
1313

1414
![Using webhooks in development](/docs/images/integrations/webhooks/webhooks_diagram.png)
1515

16-
This guide will address common issues that arise when developing with webhooks and how to debug them.
16+
Debugging webhook-related issues can be tricky, so the following sections address common issues and how to resolve them.
1717

1818
## Check your Middleware configuration
1919

@@ -39,11 +39,9 @@ export const config = {
3939

4040
## Test the Route Handler or API Route
4141

42-
If you are having trouble with your webhook, you can create a basic Route Handler and then test it locally. First, add the following file and code to your app.
42+
If you are having trouble with your webhook, you can create a basic Route Handler to test it locally.
4343

44-
If you're having trouble with your webhook, you can create a basic response and then test it locally.
45-
46-
1. Create a test route in your application:
44+
1. Create a test route by adding the following file and code to your application:
4745
<CodeBlockTabs options={["Next.js"]}>
4846
```ts {{ filename: 'app/webhooks/test/route.ts' }}
4947
export async function POST() {
@@ -52,7 +50,7 @@ If you're having trouble with your webhook, you can create a basic response and
5250
```
5351
</CodeBlockTabs>
5452
1. Run your application.
55-
1. Run the following command to send a request to the test route:
53+
1. Send a request to the test route using the following command:
5654
```bash
5755
curl -H 'Content-Type: application/json' \
5856
-X POST http://localhost:3000/api/webhooks/test
@@ -94,7 +92,7 @@ The following table has some of the common response codes you might see and what
9492

9593
## Debug webhook verification
9694

97-
To verify the webhook, see the [guide on webhooks](/docs/webhooks/sync-data#create-the-endpoint-in-your-application) for a detailed code example. You can also visit the [Svix guide on verifying payloads](https://docs.svix.com/receiving/verifying-payloads/how).
95+
To verify the webhook, see the [guide on webhooks](/docs/webhooks/sync-data#create-the-endpoint) for a detailed code example. You can also visit the [Svix guide on verifying payloads](https://docs.svix.com/receiving/verifying-payloads/how).
9896

9997
Diagnosing a problem in this part of the webhook can be challenging. Your best bet would be the liberal use of `console.log`. You could log out the following to check if the values are correct:
10098

@@ -109,6 +107,6 @@ Checking the values and the progress of the webhook code will allow you to narro
109107

110108
## Check your logic
111109

112-
Once you have verified the webhook, you will now be writing your own code to handle the values from the webhook. This could range from saving data to a databse, or integrating with another system, to updating users or sending emails or SMS.
110+
Once you have verified the webhook, you will now be writing your own code to handle the values from the webhook. This could range from saving data to a database, or integrating with another system, to updating users or sending emails or SMS.
113111

114112
If the webhook is verified and you're seeing a `500` status code or your webhook is not behaving as expected, remember that you can use `console.log` to help diagnose what the problem is. Console logs and errors will be displayed on your command line, allowing you to see what's happening and address the bugs.

0 commit comments

Comments
 (0)