Skip to content

Commit

Permalink
Merge pull request #43781 from Expensify/vit-fixTS20240614
Browse files Browse the repository at this point in the history
[NoQA] Fix the TS in suggestionMentions
  • Loading branch information
srikarparsi authored Jun 14, 2024
2 parents 1bcb6ef + 44c2b96 commit f9e1efc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function SuggestionMention(
const isMentionSuggestionsMenuVisible = !!suggestionValues.suggestedMentions.length && suggestionValues.shouldShowSuggestionMenu;

const currentReportID = useCurrentReportID();
const currentReport = reports?.[`${ONYXKEYS.COLLECTION.REPORT}${currentReportID?.currentReportID}`] ?? null;
const currentReport = reports?.[`${ONYXKEYS.COLLECTION.REPORT}${currentReportID?.currentReportID}`];
// Smaller weight means higher order in suggestion list
const getPersonalDetailsWeight = useCallback(
(detail: PersonalDetails, policyEmployeeAccountIDs: number[]): number => {
Expand Down

0 comments on commit f9e1efc

Please sign in to comment.