1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fix JSDoc for Tabs#_findChildByName (#8664)

This commit is contained in:
Whymarrh Whitby 2020-05-27 19:10:26 -02:30 committed by GitHub
parent cc1170f577
commit 34adccec7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,9 +75,9 @@ export default class Tabs extends Component {
}
/**
* Returns the index of the child with the given key
* @param {string} key - the child key to search for
* @returns {number}
* Returns the index of the child with the given name
* @param {string} name - the name to search for
* @returns {number} the index of the child with the given name
* @private
*/
_findChildByName (name) {