Skip to content

Commit

Permalink
Update src/Mentions.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: afc163 <[email protected]>
  • Loading branch information
wanpan11 and afc163 authored Jun 6, 2024
1 parent 46f8ebf commit 935039b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Mentions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,9 @@ const InternalMentions = forwardRef<MentionsRef, MentionsProps>(
// Measure hit
event.preventDefault();
// loading skip
if (loading) return;
if (loading) {
return;
}

if (!mergedOptions.length) {
stopMeasure();
Expand Down

0 comments on commit 935039b

Please sign in to comment.