()
| 56 | * fields (like visibleSeries) that shouldn't affect the query cache key. |
| 57 | */ |
| 58 | export const useChartInput = () => { |
| 59 | const { report } = useReportChartContext(); |
| 60 | return useMemo(() => { |
| 61 | const { visibleSeries, ...input } = report; |
| 62 | return input; |
| 63 | }, [report]); |
| 64 | }; |
| 65 | |
| 66 | export const ReportChartProvider = ({ |
| 67 | children, |
no test coverage detected