Skip to content

Commit

Permalink
remove type assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
HezekielT committed Apr 8, 2024
1 parent 3932433 commit da9e52f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/EmojiPicker/EmojiPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function EmojiPicker({viewportOffsetTop}: EmojiPickerProps, ref: ForwardedRef<Em
emojiPopoverAnchorRef.current = emojiPopoverAnchorValue;
const emojiPopoverAnchor = getEmojiPopoverAnchor();
// Drop focus to avoid blue focus ring.
(emojiPopoverAnchor?.current as HTMLDivElement)?.blur();
emojiPopoverAnchor?.current?.blur();

const anchorOriginValue = anchorOrigin ?? DEFAULT_ANCHOR_ORIGIN;

Expand Down

0 comments on commit da9e52f

Please sign in to comment.