Skip to content

Commit 7e7771d

Browse files
committed
Fix small documentation error
1 parent d90a090 commit 7e7771d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export const useIsFirstRender = () => {
144144
* part.
145145
*
146146
* If the hash value doesn't match the format `#part-{partNumber}` where
147-
* `0 <= partNumber <= partsCount`, this hook returns 0.
147+
* `1 <= partNumber <= partsCount`, this hook returns 0.
148148
*
149149
* @param partsCount {number} total number of parts of the challenge (1 if
150150
* the challenge is not multi-part)

0 commit comments

Comments
 (0)