Skip to content

Commit f9e1efc

Browse files
authored
Merge pull request #43781 from Expensify/vit-fixTS20240614
[NoQA] Fix the TS in suggestionMentions
2 parents 1bcb6ef + 44c2b96 commit f9e1efc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/home/report/ReportActionCompose/SuggestionMention.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function SuggestionMention(
7070
const isMentionSuggestionsMenuVisible = !!suggestionValues.suggestedMentions.length && suggestionValues.shouldShowSuggestionMenu;
7171

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

0 commit comments

Comments
 (0)