Skip to content

Commit

Permalink
Merge pull request #37063 from tienifr/fix/33992-fix-ts-error
Browse files Browse the repository at this point in the history
Fix ts error
  • Loading branch information
jasperhuangg authored Feb 22, 2024
2 parents 3e77445 + 92f2da1 commit 6f28014
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/settings/Report/VisibilityPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import ConfirmModal from '@components/ConfirmModal';
import HeaderWithBackButton from '@components/HeaderWithBackButton';
import ScreenWrapper from '@components/ScreenWrapper';
import SelectionList from '@components/SelectionList';
import RadioListItem from '@components/SelectionList/RadioListItem';
import useLocalize from '@hooks/useLocalize';
import type {ReportSettingsNavigatorParamList} from '@libs/Navigation/types';
import * as ReportUtils from '@libs/ReportUtils';
Expand Down Expand Up @@ -72,6 +73,7 @@ function VisibilityPage({report}: VisibilityProps) {
changeVisibility(option.value);
}}
initiallyFocusedOptionKey={visibilityOptions.find((visibility) => visibility.isSelected)?.keyForList}
ListItem={RadioListItem}
/>
<ConfirmModal
isVisible={showConfirmModal}
Expand Down

0 comments on commit 6f28014

Please sign in to comment.