We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 439d26e commit 3e42326Copy full SHA for 3e42326
1 file changed
src/pages/PrivateNotes/PrivateNotesListPage.tsx
@@ -40,7 +40,7 @@ type NoteListItem = {
40
function PrivateNotesListPage({report, accountID: sessionAccountID}: PrivateNotesListPageProps) {
41
const route = useRoute<PlatformStackRouteProp<PrivateNotesNavigatorParamList, typeof SCREENS.PRIVATE_NOTES.LIST>>();
42
const backTo = route.params.backTo;
43
- const [personalDetailsList] = useOnyx(ONYXKEYS.PERSONAL_DETAILS_LIST);
+ const [personalDetailsList] = useOnyx(ONYXKEYS.PERSONAL_DETAILS_LIST, {canBeMissing: false});
44
const styles = useThemeStyles();
45
const {translate} = useLocalize();
46
const getAttachmentValue = useCallback((item: NoteListItem) => ({reportID: item.reportID, accountID: Number(item.accountID), type: CONST.ATTACHMENT_TYPE.NOTE}), []);
0 commit comments