Skip to content

Commit d1928a1

Browse files
authored
Fix spelling for components (#8279)
1 parent 2334c41 commit d1928a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-router-dom/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ if (__DEV__) {
324324

325325
/**
326326
* Handles the click behavior for router `<Link>` components. This is useful if
327-
* you need to create custom `<Link>` compoments with the same click behavior we
327+
* you need to create custom `<Link>` components with the same click behavior we
328328
* use in our exported `<Link>`.
329329
*/
330330
export function useLinkClickHandler<E extends Element = HTMLAnchorElement>(

packages/react-router-native/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ const URLEventType = "url";
160160

161161
/**
162162
* Handles the press behavior for router `<Link>` components. This is useful if
163-
* you need to create custom `<Link>` compoments with the same press behavior we
163+
* you need to create custom `<Link>` components with the same press behavior we
164164
* use in our exported `<Link>`.
165165
*/
166166
export function useLinkPressHandler(

0 commit comments

Comments
 (0)