Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreSi committed Jan 22, 2025
1 parent ebc3c00 commit e88a5f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ const InstructionOrObjectSelector = React.forwardRef<
const instructionSearchApiRef = React.useRef<Fuse>(
new Fuse(allInstructionsInfoRef.current, {
...sharedFuseConfiguration,
includeScore: true,
includeScore: true, // Use Fuse.js score to sort results that don't contain exact matches.
keys: [
{ name: 'displayedName', weight: 5 },
{ name: 'fullGroupName', weight: 1 },
Expand Down

0 comments on commit e88a5f1

Please sign in to comment.