Skip to content

Commit 424f106

Browse files
authored
fix: New charts not getting the correct props on Analytics Page (#3480)
1 parent ba50b98 commit 424f106

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/pages/AnalyticsPage/AnalyticsPage.jsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,16 @@ function AnalyticsPage() {
4242
<div className="flex flex-col gap-4">
4343
{ownerData?.isCurrentUserPartOfOrg ? <Tabs /> : null}
4444
<ChartSelectors
45-
startDate={params?.startDate}
46-
endDate={params?.endDate}
47-
repositories={params?.repositories}
45+
params={params}
4846
updateParams={updateParams}
4947
active={true}
5048
sortItem={sortItem}
5149
/>
52-
<Chart params={params} />
50+
<Chart
51+
startDate={params?.startDate}
52+
endDate={params?.endDate}
53+
repositories={params?.repositories}
54+
/>
5355
<ReposTable
5456
owner={owner}
5557
searchValue={params?.search}

0 commit comments

Comments
 (0)