Skip to content

Commit

Permalink
chore(form-builder): fix minor TS issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Apr 13, 2021
1 parent 1a22c92 commit 9891a95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const SCROLL_OPTIONS = {scrollMode: 'if-needed'} as const
* @param hasFocusWithin A boolean indicating whether we have has focus within the currently edited value
*/
export function useScrollIntoViewOnFocusWithin(
elementRef: {current?: HTMLElement},
elementRef: {current?: HTMLElement | null},
hasFocusWithin: boolean
): void {
return useDidUpdate(
Expand Down

0 comments on commit 9891a95

Please sign in to comment.