Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Pujan92 committed Feb 28, 2024
1 parent 6dbaac6 commit a15579c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,10 @@ function BaseEmojiPickerMenu({headerEmojis, scrollToHeader, isFiltered, listWrap
overrideProps={{
// scrollPaddingTop set to consider sticky header while scrolling, https://github.com/Expensify/App/issues/36883
style: {
minHeight: 1,
minHeight: 1,
minWidth: 1,
scrollPaddingTop: isFiltered ? 0 : CONST.EMOJI_PICKER_ITEM_HEIGHT
}
scrollPaddingTop: isFiltered ? 0 : CONST.EMOJI_PICKER_ITEM_HEIGHT,
},
}}
/>
</View>
Expand Down
5 changes: 1 addition & 4 deletions src/components/EmojiPicker/EmojiPickerMenu/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,7 @@ function EmojiPickerMenu({forwardedRef, onEmojiSelected, activeEmoji}) {
isFiltered={isListFiltered}
headerEmojis={headerEmojis}
scrollToHeader={scrollToHeader}
listWrapperStyle={[
listStyle,
styles.flexShrink1,
]}
listWrapperStyle={[listStyle, styles.flexShrink1]}
ref={emojiListRef}
data={filteredEmojis}
renderItem={renderItem}
Expand Down

0 comments on commit a15579c

Please sign in to comment.