Skip to content

Commit 7df0227

Browse files
committed
fix: use ScorecardHomepageCardWithProvider
Signed-off-by: Diana Janickova <djanicko@redhat.com>
1 parent d680d66 commit 7df0227

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

workspaces/scorecard/plugins/scorecard/src/alpha/extensions/homePageCards.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,14 @@ function AggregatedCardWithGithubOpenPrsContent() {
4848
}
4949

5050
function AggregatedCardWithGithubFilesCheckLicenseContent() {
51-
return <ScorecardHomepageCard aggregationId="licenseFileExistsKpi" />;
51+
return (
52+
<ScorecardHomepageCardWithProvider aggregationId="licenseFileExistsKpi" />
53+
);
5254
}
5355

5456
function AggregatedCardWithGithubFilesCheckCodeownersContent() {
5557
return (
56-
<ScorecardHomepageCard aggregationId="github.files_check.codeowners" />
58+
<ScorecardHomepageCardWithProvider aggregationId="github.files_check.codeowners" />
5759
);
5860
}
5961

0 commit comments

Comments
 (0)