source: node_modules/recharts/es6/state/ReportChartProps.js

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 301 bytes
Line 
1import { useEffect } from 'react';
2import { updateOptions } from './rootPropsSlice';
3import { useAppDispatch } from './hooks';
4export function ReportChartProps(props) {
5 var dispatch = useAppDispatch();
6 useEffect(() => {
7 dispatch(updateOptions(props));
8 }, [dispatch, props]);
9 return null;
10}
Note: See TracBrowser for help on using the repository browser.