+
+
+ { snippets.i_role }
+ { snippets.i_age }
+ { snippets.i_disabled }
+
+
+ { this.getMembers() }
+
+
-
- return (
-
-
-
- { snippets.i_role }
- { snippets.i_age }
- { snippets.i_disabled }
-
- { getMembers(current, time, setHousehold, updateClientValue, snippets) }
-
-
-
-
- );
-
-}; // End HouseholdContent()
+ );
+ }
+} // End HouseholdContent()
// `props` is a cloned version of the original props. References broken.
-const HouseholdStep = function ({ updateClientValue, navData, client, snippets }) {
+const HouseholdStep = function ({
+ setMemberIsDisabled,
+ setMemberRole,
+ setMemberAge,
+ addMember,
+ removeMember,
+ navData,
+ household,
+ snippets,
+}) {
return (
);
diff --git a/src/forms/Predictions.js b/src/forms/Predictions.js
index d77c5735..281daf77 100644
--- a/src/forms/Predictions.js
+++ b/src/forms/Predictions.js
@@ -6,7 +6,7 @@ import { FormPartsContainer } from './FormPartsContainer';
import { IntervalColumnHeadings } from '../components/headings';
import { CashFlowInputsRow } from './cashflow';
import { GraphHolder } from './output/GraphHolder';
-import { Summary } from './output/Summary';
+import Summary from '../containers/forms/output/Summary';
import { BenefitsTable } from './output/BenefitsTable';
import { StackedBarGraph } from './output/StackedBarGraph';
import { StackedAreaGraph } from './output/StackedAreaGraph';
@@ -23,15 +23,13 @@ import { BenefitsLines } from './output/BenefitsLines';
* @function
* @param {object} props
* @param {object} props.future Client future/predictive data.
- * @param {string} props.time Used in class names. Meant to make
- * this more easily decoupled in future.
- * @param {function} props.updateClientValue Update client state
+ * @param {function} props.setPredictionValue Update client state
* value.
* @param {object} props.snippets Language-specific text
*
* @returns {object} React element
*/
-const IncomeForm = function ({ future, time, updateClientValue, snippets }) {
+const IncomeForm = function ({ future, setPredictionValue, snippets }) {
let type = 'income';
@@ -41,8 +39,8 @@ const IncomeForm = function ({ future, time, updateClientValue, snippets }) {
{ snippets.i_futureIncomeQuestion }
@@ -150,7 +148,7 @@ const TabbedVisualizations = ({ client, openFeedback, snippets }) => {
};
-const PredictionsStep = function ({ updateClientValue, navData, client, snippets, openFeedback }) {
+const PredictionsStep = function ({ setPredictionValue, navData, client, snippets, openFeedback }) {
return (
@@ -190,7 +187,7 @@ const PredictionsStep = function ({ updateClientValue, navData, client, snippets
-