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

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

Added visualizations

  • Property mode set to 100644
File size: 301 bytes
RevLine 
[a762898]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.