Skip to content

Commit

Permalink
chore: fixed contributor insights edit page to use showOSCR
Browse files Browse the repository at this point in the history
  • Loading branch information
nickytonline committed Jul 3, 2024
1 parent b1042d2 commit 5a62f31
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,10 @@ export default function ContributorInsightEditPage({
featureFlags,
username,
}: ContributorInsightEditPageProps) {
const showOSCR = featureFlags && featureFlags["oscr-rating"];
const {
data: { data: contributors },
} = useContributorsList({ workspaceId, listId: list?.id, featureFlags, username });
} = useContributorsList({ workspaceId, listId: list?.id, showOSCR, username });
const initialTrackedContributors = new Map([
...contributors.map((contributor) => [contributor.author_login, true] as const),
]);
Expand Down

0 comments on commit 5a62f31

Please sign in to comment.