Skip to content

Commit 3e42326

Browse files
committed
fix: lint
1 parent 439d26e commit 3e42326

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/PrivateNotes/PrivateNotesListPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ type NoteListItem = {
4040
function PrivateNotesListPage({report, accountID: sessionAccountID}: PrivateNotesListPageProps) {
4141
const route = useRoute<PlatformStackRouteProp<PrivateNotesNavigatorParamList, typeof SCREENS.PRIVATE_NOTES.LIST>>();
4242
const backTo = route.params.backTo;
43-
const [personalDetailsList] = useOnyx(ONYXKEYS.PERSONAL_DETAILS_LIST);
43+
const [personalDetailsList] = useOnyx(ONYXKEYS.PERSONAL_DETAILS_LIST, {canBeMissing: false});
4444
const styles = useThemeStyles();
4545
const {translate} = useLocalize();
4646
const getAttachmentValue = useCallback((item: NoteListItem) => ({reportID: item.reportID, accountID: Number(item.accountID), type: CONST.ATTACHMENT_TYPE.NOTE}), []);

0 commit comments

Comments
 (0)