Skip to content

Commit

Permalink
Fix spelling for components (#8279)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeldking committed Nov 8, 2021
1 parent 2334c41 commit d1928a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-router-dom/index.tsx
Expand Up @@ -324,7 +324,7 @@ if (__DEV__) {

/**
* Handles the click behavior for router `<Link>` components. This is useful if
* you need to create custom `<Link>` compoments with the same click behavior we
* you need to create custom `<Link>` components with the same click behavior we
* use in our exported `<Link>`.
*/
export function useLinkClickHandler<E extends Element = HTMLAnchorElement>(
Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-native/index.tsx
Expand Up @@ -160,7 +160,7 @@ const URLEventType = "url";

/**
* Handles the press behavior for router `<Link>` components. This is useful if
* you need to create custom `<Link>` compoments with the same press behavior we
* you need to create custom `<Link>` components with the same press behavior we
* use in our exported `<Link>`.
*/
export function useLinkPressHandler(
Expand Down

0 comments on commit d1928a1

Please sign in to comment.