Skip to content

Commit 8d837f7

Browse files
MelvinBotmkhutornyi
andcommitted
Update comment wording for pinned rows in lazy-loaded list
Co-authored-by: mkhutornyi <mkhutornyi@users.noreply.github.com>
1 parent b8dc256 commit 8d837f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Search/SearchFiltersParticipantsSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ function SearchFiltersParticipantsSelector({initialAccountIDs, onFiltersUpdate,
166166
return option.accountID ? option.accountID.toString() : undefined;
167167
};
168168

169-
// Lazy-loaded list, so pinned rows may not be in current sections when a search filters them out.
169+
// Pinned rows may not be in current sections when list is lazy-loaded.
170170
// The hook keeps them from the snapshot; we filter them through `matchesSearchTerm` so the pinned
171171
// section respects the current search term.
172172
const sections = useFrozenPreSelection<OptionData>(baseSections, {

0 commit comments

Comments
 (0)