Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
chore(utils): added missing since annotation to useOnUnmount
  • Loading branch information
mlaursen committed Apr 14, 2021
1 parent 633a586 commit c758982
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/utils/src/useOnUnmount.ts
Expand Up @@ -20,6 +20,7 @@ import { useEffect, useRef } from "react";
* // update data
* ```
*
* @remarks \@since 2.7.1
* @param callback - the function to call when the component unmounts.
*/
export function useOnUnmount(callback: () => void): void {
Expand Down

0 comments on commit c758982

Please sign in to comment.