Skip to content

Commit

Permalink
remove other references to state
Browse files Browse the repository at this point in the history
  • Loading branch information
katiepantell committed Mar 23, 2020
1 parent c8d4e35 commit 05840b8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
1 change: 0 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@
<input type="text" name="acquired" />
<input type="text" name="street" />
<input type="text" name="city" />
<input type="text" name="state" />
<input type="text" name="zipcode" />
<input type="text" name="unit-1-unitNumber" />
<input type="text" name="unit-1-bedrooms" />
Expand Down
3 changes: 0 additions & 3 deletions src/components/FormContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const FormContainer = inject('store')(observer(class FormContainer extends Compo
acquired: '',
street: '',
city: '',
state: '',
zipcode: '',
units: [
{
Expand Down Expand Up @@ -85,7 +84,6 @@ const FormContainer = inject('store')(observer(class FormContainer extends Compo
acquired,
street,
city,
state,
zipcode,
units,
unitNumber,
Expand Down Expand Up @@ -113,7 +111,6 @@ const FormContainer = inject('store')(observer(class FormContainer extends Compo
acquired,
street,
city,
state,
zipcode,
units,
unitNumber,
Expand Down
7 changes: 2 additions & 5 deletions src/components/OwnerDetailForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ const years = [2020, 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010,
const yearsList = years.map((year) =>
<option>{year}</option>
)
const states = ["AL", "AK", "AZ", "AR", "CA", "CO", "CT", "DE", "FL", "GA", "HI", "ID", "IL", "IN", "IA", "KS", "KY", "LA", "ME", "MD", "MA", "MI", "MN", "MS", "MO", "MT", "NE", "NV", "NH", "NJ", "NM", "NY", "NC", "ND", "OH", "OK", "OR", "PA", "RI", "SC", "SD", "TN", "TX", "UT", "VT", "VA", "WA", "WV", "WI", "WY"]
const statesList = states.map((state) =>
<option>{state}</option>
)

const OwnerDetailForm = inject('store')(observer(class OwnerDetailForm extends Component {
saveAndContinueMultiple = (e) => {
e.preventDefault()
Expand Down Expand Up @@ -106,4 +103,4 @@ const OwnerDetailForm = inject('store')(observer(class OwnerDetailForm extends C
}
}));

export default OwnerDetailForm;
export default OwnerDetailForm;
1 change: 0 additions & 1 deletion src/rentalDataStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export default class RentalDataStore {
'acquired': '',
'street': '',
'city': '',
'state': '',
'zipcode': '',
'unit-1-unitNumber': '',
'unit-1-bedrooms': '',
Expand Down

0 comments on commit 05840b8

Please sign in to comment.