reports/frontend/node_modules/recharts/lib/state/ReportChartProps.js
jtricerolph 1c411e402e Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-20 14:37:36 +00:00

16 lines
No EOL
452 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ReportChartProps = ReportChartProps;
var _react = require("react");
var _rootPropsSlice = require("./rootPropsSlice");
var _hooks = require("./hooks");
function ReportChartProps(props) {
var dispatch = (0, _hooks.useAppDispatch)();
(0, _react.useEffect)(() => {
dispatch((0, _rootPropsSlice.updateOptions)(props));
}, [dispatch, props]);
return null;
}