Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import type {ValueOf} from 'type-fest';
import HeaderWithBackButton from '@components/HeaderWithBackButton';
import MenuItemWithTopDescription from '@components/MenuItemWithTopDescription';
import ScreenWrapper from '@components/ScreenWrapper';
import SelectionList from '@components/SelectionListWithSections';
import RadioListItem from '@components/SelectionListWithSections/RadioListItem';
import SelectionList from '@components/SelectionList';
import RadioListItem from '@components/SelectionList/ListItem/RadioListItem';
import Text from '@components/Text';
import useCurrentUserPersonalDetails from '@hooks/useCurrentUserPersonalDetails';
import useLocalize from '@hooks/useLocalize';
Expand Down Expand Up @@ -163,10 +163,10 @@ function StatusClearAfterPage() {
const timePeriodOptions = useCallback(
() => (
<SelectionList
sections={[{data: statusType}]}
data={statusType}
ListItem={RadioListItem}
onSelectRow={updateMode}
initiallyFocusedOptionKey={statusType.find((status) => status.isSelected)?.keyForList}
initiallyFocusedItemKey={statusType.find((status) => status.isSelected)?.keyForList}
listFooterContent={listFooterContent}
/>
),
Expand Down