Skip to content

Commit

Permalink
Merge pull request #1115 from hackforla/1114-dev-form-state
Browse files Browse the repository at this point in the history
adding something else state and recovery to env example
  • Loading branch information
sydneywalcoff authored Jan 19, 2024
2 parents 1b223fe + f4b64ab commit 69382ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions products/statement-generator/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ REACT_APP_GOALS_HOW=I am learning new ways to work that go beyond eating.
REACT_APP_CLEAR_RECORD_WHY=It will help me make a better life for me and my family.
REACT_APP_CLEAR_RECORD_HOW=If my record no longer says I have poison resistance, I can be hired for other jobs.

REACT_APP_RECOVERY_NAME=Recovery Palace
REACT_APP_RECOVERY_DESCRIPTION=where princesses go to recover

REACT_APP_ACTIVITY_NAME=Helping rescue cats
REACT_APP_ACTIVITY_DESCRIPTION=Making sure they have a safe home

Expand Down
4 changes: 4 additions & 0 deletions products/statement-generator/src/contexts/FormStateProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ export const sampleStepState = {
unemploymentState: {
unemploymentDescription: process.env.REACT_APP_UNEMPLOYMENT_DESCRIPTION,
},
somethingElseState: {
activityName: process.env.REACT_APP_ACTIVITY_NAME,
activityDescription: process.env.REACT_APP_ACTIVITY_DESCRIPTION,
},
goalsState: {
goals: process.env.REACT_APP_GOALS,
goalsHow: process.env.REACT_APP_GOALS_HOW,
Expand Down

0 comments on commit 69382ef

Please sign in to comment.