DieselDepot-APP/node_modules/recharts/es6/state/ReportChartProps.js
SJCoetz def597c157 chore: add generated build artifacts and node module type files
add all Next.js build outputs and third-party dependency type declaration files
2026-07-20 01:18:42 +02:00

10 lines
No EOL
301 B
JavaScript

import { useEffect } from 'react';
import { updateOptions } from './rootPropsSlice';
import { useAppDispatch } from './hooks';
export function ReportChartProps(props) {
var dispatch = useAppDispatch();
useEffect(() => {
dispatch(updateOptions(props));
}, [dispatch, props]);
return null;
}