Skip to content

Commit e509e48

Browse files
authored
chore: Remove deprecation warning from useAutoFocus hook (#1628)
1 parent d3d7817 commit e509e48

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/fuselage-hooks/src/useAutoFocus.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { useEffect, useRef } from 'react';
88
* @param options - options of the focus request
99
* @returns the ref which holds the element
1010
* @public
11-
* @deprecated in favor of focus provided by react-hook-form or the `autoFocus` attribute
1211
*/
1312
export const useAutoFocus = <
1413
T extends { focus: (options?: FocusOptions) => void },

0 commit comments

Comments
 (0)