reports/frontend/node_modules/recharts/lib/state/ReportPolarOptions.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
472 B
JavaScript

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