Skip to content

Commit

Permalink
Remove contributor filter to remove project filter (#687)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbeno authored Nov 21, 2024
1 parent 2bae046 commit e565965
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export type SelectableContributorsFilters = Omit<
>;

export function SelectableContributorsAccordion() {
const { selectedGithubUserIds, addContributorId, removeContributorId, projectId } = useRewardFlow();
const { selectedGithubUserIds, addContributorId, removeContributorId } = useRewardFlow();
const [filters, setFilters] = useState<SelectableContributorsFilters>({});
const [search, setSearch] = useState<string>();
const [debouncedSearch, setDebouncedSearch] = useState<string>();
Expand All @@ -34,7 +34,6 @@ export function SelectableContributorsAccordion() {
const queryParams: Partial<GetBiContributorsQueryParams> = {
search: debouncedSearch,
contributorIds: localSelectedContributorsIds.current,
projectIds: projectId ? [projectId] : undefined,
...filters,
};

Expand Down

0 comments on commit e565965

Please sign in to comment.