|
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 | |
|---|
| 1 | import { useEffect } from 'react';
|
|---|
| 2 | import { updateOptions } from './rootPropsSlice';
|
|---|
| 3 | import { useAppDispatch } from './hooks';
|
|---|
| 4 | export 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.