1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

appease the js-doc linter

hopefully
This commit is contained in:
Travis Ralston
2019-05-21 09:33:52 -06:00
parent aac87c4635
commit bf28993509

View File

@@ -19,7 +19,7 @@ limitations under the License.
* object. Useful in scenarios where componentDidMount does not have a * object. Useful in scenarios where componentDidMount does not have a
* useful reference to an element, but one needs to focus the element on * useful reference to an element, but one needs to focus the element on
* first render. Example usage: ref={focusCapturedRef} * first render. Example usage: ref={focusCapturedRef}
* @param ref The React reference to focus on, if not null * @param {function} ref The React reference to focus on, if not null
*/ */
export function focusCapturedRef(ref) { export function focusCapturedRef(ref) {
if (ref) { if (ref) {