Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dukenv0307 committed Mar 26, 2024
1 parent a507d84 commit 640b2af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/EmojiPicker/EmojiPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const EmojiPicker = forwardRef((props, ref) => {
const [emojiPopoverAnchorOrigin, setEmojiPopoverAnchorOrigin] = useState(DEFAULT_ANCHOR_ORIGIN);
const [activeID, setActiveID] = useState();
const emojiPopoverAnchorRef = useRef(null);
const emojiAnchorDimission = useRef({
const emojiAnchorDimension = useRef({
width: 0,
height: 0,
});
Expand Down Expand Up @@ -84,7 +84,7 @@ const EmojiPicker = forwardRef((props, ref) => {
horizontal: value.horizontal,
vertical: value.vertical,
});
emojiAnchorDimission.current = {
emojiAnchorDimension.current = {
width: value.width,
height: value.height,
};
Expand Down Expand Up @@ -170,7 +170,7 @@ const EmojiPicker = forwardRef((props, ref) => {
horizontal: value.horizontal,
vertical: value.vertical,
});
emojiAnchorDimission.current = {
emojiAnchorDimension.current = {
width: value.width,
height: value.height,
};
Expand Down Expand Up @@ -210,7 +210,7 @@ const EmojiPicker = forwardRef((props, ref) => {
anchorAlignment={emojiPopoverAnchorOrigin}
outerStyle={StyleUtils.getOuterModalStyle(windowHeight, props.viewportOffsetTop)}
innerContainerStyle={styles.popoverInnerContainer}
anchorDimensions={emojiAnchorDimission.current}
anchorDimensions={emojiAnchorDimension.current}
avoidKeyboard
shoudSwitchPositionIfOverflow
>
Expand Down

0 comments on commit 640b2af

Please sign in to comment.