Skip to content

Commit c758982

Browse files
committed
chore(utils): added missing since annotation to useOnUnmount
1 parent 633a586 commit c758982

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/utils/src/useOnUnmount.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import { useEffect, useRef } from "react";
2020
* // update data
2121
* ```
2222
*
23+
* @remarks \@since 2.7.1
2324
* @param callback - the function to call when the component unmounts.
2425
*/
2526
export function useOnUnmount(callback: () => void): void {

0 commit comments

Comments
 (0)