Skip to content

Commit

Permalink
missed null
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcosta7 committed Apr 5, 2023
1 parent 56c1203 commit 357cb5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ActionMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const Overlay: React.FC<React.PropsWithChildren<MenuOverlayProps>> = ({
'anchorRef'
>

const containerRef = React.useRef<HTMLDivElement>()
const containerRef = React.useRef<HTMLDivElement>(null)
useMenuKeyboardNavigation(open, onClose, containerRef, anchorRef)

return (
Expand Down

0 comments on commit 357cb5b

Please sign in to comment.