Skip to content

Commit e5525f0

Browse files
committed
Remove branch prompt status from status.js and militaryinfo component
1 parent c03cecd commit e5525f0

3 files changed

Lines changed: 1 addition & 86 deletions

File tree

package-lock 2.json

Lines changed: 0 additions & 70 deletions
This file was deleted.

src/scenes/home/informationForm/formComponents/militaryInfo.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,14 @@ import { Line } from 'rc-progress';
33
import Form from 'shared/components/form/form';
44
import PropTypes from 'prop-types';
55
import FormSelect from 'shared/components/form/formSelect/formSelect';
6-
import { MILSTATUS, BRANCH, BRANCH_PROMPT } from 'shared/constants/status';
6+
import { MILSTATUS, BRANCH } from 'shared/constants/status';
77
import styles from './formComponents.css';
88

99
class MilitaryInfo extends Component {
1010
constructor(props) {
1111
super(props);
12-
this.state = { branchPrompt: BRANCH_PROMPT.other };
1312
}
1413

15-
onChange = (e) => {
16-
this.props.update(e, e.target.value);
17-
if (e.target.value === 'spouse') {
18-
this.setState({ branchPrompt: BRANCH_PROMPT.spouse });
19-
} else {
20-
this.setState({ branchPrompt: BRANCH_PROMPT.other });
21-
}
22-
};
23-
2414
render() {
2515
return (
2616
<Form className={styles.signup}>

src/shared/constants/status.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,6 @@ export const BRANCH = [
139139
}
140140
];
141141

142-
export const BRANCH_PROMPT = {
143-
spouse: "Your Partner's Branch of Service",
144-
other: 'Your Branch of Service'
145-
};
146-
147142
export const LANGUAGES = [
148143
'Javascript',
149144
'Ruby',

0 commit comments

Comments
 (0)