Skip to content

Commit 9ea3d5a

Browse files
committed
Updated comments
1 parent e787bb5 commit 9ea3d5a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"start": "react-scripts start",
4545
"dev": "microbundle watch",
4646
"build": "rm -rf dist && microbundle",
47-
"build:demo": "BUILD_PATH='./docs' react-scripts build"
47+
"build:docs": "BUILD_PATH='./docs' react-scripts build"
4848
},
4949
"keywords": [
5050
"arrows",

src/lib/useArrows.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default function useArrows(
7878
const index = [...elements].indexOf(activeElement)
7979

8080
/**
81-
* Prevent focus from jumping if current focus is not in the element array.
81+
* Prevent focus from jumping if the current focus is not in the element array.
8282
*
8383
* This will help prevent focus from jumping to the next focusable element
8484
* when using keydown event on external DOM element.

0 commit comments

Comments
 (0)