Skip to content

Commit 8d5e872

Browse files
authored
Merge pull request Expensify#76605 from software-mansion-labs/@zfurtak/migrate-SearchFiltersWithdrawalTypePage
Make `SearchFiltersWithdrawalTypePage` use new `SelectionList`
2 parents 3dc39f7 + dee1e6c commit 8d5e872

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/pages/Search/SearchAdvancedFiltersPage/SearchFiltersWithdrawalTypePage.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import FixedFooter from '@components/FixedFooter';
55
import HeaderWithBackButton from '@components/HeaderWithBackButton';
66
import ScreenWrapper from '@components/ScreenWrapper';
77
import type {SearchWithdrawalType} from '@components/Search/types';
8-
import SelectionList from '@components/SelectionListWithSections';
9-
import SingleSelectListItem from '@components/SelectionListWithSections/SingleSelectListItem';
10-
import type {ListItem} from '@components/SelectionListWithSections/types';
8+
import SelectionList from '@components/SelectionList';
9+
import SingleSelectListItem from '@components/SelectionList/ListItem/SingleSelectListItem';
10+
import type {ListItem} from '@components/SelectionList/types';
1111
import useLocalize from '@hooks/useLocalize';
1212
import useOnyx from '@hooks/useOnyx';
1313
import useThemeStyles from '@hooks/useThemeStyles';
@@ -59,10 +59,10 @@ function SearchFiltersWithdrawalTypePage() {
5959
/>
6060
<View style={[styles.flex1]}>
6161
<SelectionList
62-
shouldSingleExecuteRowSelect
63-
sections={[{data: listData}]}
62+
data={listData}
6463
ListItem={SingleSelectListItem}
6564
onSelectRow={updateSelectedItem}
65+
shouldSingleExecuteRowSelect
6666
/>
6767
</View>
6868
<FixedFooter style={styles.mtAuto}>

0 commit comments

Comments
 (0)