Update report parameters.

This commit is contained in:
Mike Cao 2023-05-30 16:49:22 -07:00
parent e9b0d3f796
commit 43f5854f15
5 changed files with 27 additions and 20 deletions

View file

@ -8,6 +8,8 @@ export const ReportContext = createContext(null);
export function Report({ reportId, defaultParameters, children, ...props }) {
const report = useReport(reportId, defaultParameters);
//console.log(report);
return (
<ReportContext.Provider value={{ ...report }}>
<Page {...props} className={styles.container}>