Skip to content

Commit 22b6e5f

Browse files
committed
changed the type for focus event.
1 parent 7e8bcfe commit 22b6e5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-aria/src/grid/useGridCell.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ export function useGridCell<T, C extends GridCollection<T>>(
254254

255255
// Grid cells can have focusable elements inside them. In this case, focus should
256256
// be marshalled to that element rather than focusing the cell itself.
257-
let onFocus = (e: any) => {
257+
let onFocus = (e: FocusEvent) => {
258258
keyWhenFocused.current = node.key;
259259

260260
// FIX: If focus is moving directly to a specific inner child element

0 commit comments

Comments
 (0)