diff options
| author | Leon Jiang <35908040+leonyjiang@users.noreply.github.com> | 2021-03-08 21:00:39 -0500 |
|---|---|---|
| committer | Leon Jiang <35908040+leonyjiang@users.noreply.github.com> | 2021-03-08 21:00:39 -0500 |
| commit | c6c0370bf1ddf052fbb56d32b9e21097950b8b16 (patch) | |
| tree | 688f277f427592f905e018e78697dc56684b50b2 /src/components/search/RecentSearches.tsx | |
| parent | 3017d9a5cbf5ed525fc84a5f8062962c6377f6fe (diff) | |
Fix styles messed up during merges
Diffstat (limited to 'src/components/search/RecentSearches.tsx')
| -rw-r--r-- | src/components/search/RecentSearches.tsx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/components/search/RecentSearches.tsx b/src/components/search/RecentSearches.tsx index b4cc5483..84d35cac 100644 --- a/src/components/search/RecentSearches.tsx +++ b/src/components/search/RecentSearches.tsx @@ -25,12 +25,7 @@ interface RecentSearchesProps extends TouchableOpacityProps { } const RecentSearches: React.FC<RecentSearchesProps> = (props) => { - const { - sectionTitle, - recents, - recentCategories, - screenType, - } = props; + const {sectionTitle, recents, recentCategories, screenType} = props; return ( <ScrollView style={styles.mainContainer} @@ -53,10 +48,11 @@ const RecentSearches: React.FC<RecentSearchesProps> = (props) => { const styles = StyleSheet.create({ mainContainer: { - flexGrow: 1, + flex: 1, }, contentContainer: { paddingBottom: SCREEN_HEIGHT * 0.1, + flex: 1, }, header: { paddingHorizontal: 25, |
