There was an error while loading. Please reload this page.
2 parents f53c217 + 36e65a8 commit edb975cCopy full SHA for edb975c
1 file changed
hooks/src/index.js
@@ -166,7 +166,7 @@ options.unmount = vnode => {
166
/**
167
* Get a hook's state from the currentComponent
168
* @param {number} index The index of the hook to get
169
- * @param {number} type The index of the hook to get
+ * @param {number} type The type of the hook to get
170
* @returns {any}
171
*/
172
function getHookState(index, type) {
0 commit comments