Skip to content

Commit

Permalink
update SuggestionMention
Browse files Browse the repository at this point in the history
  • Loading branch information
perunt committed May 15, 2024
1 parent 2781efe commit bf3878b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const defaultSuggestionsValues: SuggestionValues = {
};

function SuggestionMention(
{value, selection, setSelection, updateComment, isAutoSuggestionPickerLarge, measureParentContainer, isComposerFocused, isGroupPolicyReport, policyID}: SuggestionProps,
{value, selection, setSelection, updateComment, isAutoSuggestionPickerLarge, measureParentContainerAndReportCursor, isComposerFocused, isGroupPolicyReport, policyID}: SuggestionProps,
ref: ForwardedRef<SuggestionsRef>,
) {
const personalDetails = usePersonalDetails() ?? CONST.EMPTY_OBJECT;
Expand Down Expand Up @@ -392,7 +392,7 @@ function SuggestionMention(
prefix={suggestionValues.mentionPrefix}
onSelect={insertSelectedMention}
isMentionPickerLarge={!!isAutoSuggestionPickerLarge}
measureParentContainer={measureParentContainer}
measureParentContainerAndReportCursor={measureParentContainerAndReportCursor}
/>
);
}
Expand Down

0 comments on commit bf3878b

Please sign in to comment.