@@ -29,24 +29,24 @@ const currentScriptPath = getCurrentScriptPath();
2929const AsuRfi = props => {
3030 const {
3131 appPathFolder,
32- variant,
33- campus,
34- actualCampus,
35- college,
36- department,
37- studentType,
38- areaOfInterest,
39- areaOfInterestOptional,
40- programOfInterest,
41- programOfInterestOptional,
42- isCertMinor,
43- country,
44- stateProvince,
45- successMsg,
46- test,
47- dataSourceDegreeSearch,
48- dataSourceAsuOnline,
49- dataSourceCountriesStates,
32+ variant = undefined ,
33+ campus = undefined ,
34+ actualCampus = undefined ,
35+ college = undefined ,
36+ department = undefined ,
37+ studentType = undefined ,
38+ areaOfInterest = undefined ,
39+ areaOfInterestOptional = false ,
40+ programOfInterest = undefined ,
41+ programOfInterestOptional = false ,
42+ isCertMinor = false ,
43+ country = undefined ,
44+ stateProvince = undefined ,
45+ successMsg = undefined ,
46+ test = false ,
47+ dataSourceDegreeSearch = DATA_SOURCE . DEGREE_SEARCH ,
48+ dataSourceAsuOnline = DATA_SOURCE . ASU_ONLINE ,
49+ dataSourceCountriesStates = DATA_SOURCE . COUNTRIES_STATES ,
5050 submissionUrl,
5151 } = props ;
5252
@@ -134,28 +134,6 @@ const AsuRfi = props => {
134134
135135export { AsuRfi } ;
136136
137- // Props
138- AsuRfi . defaultProps = {
139- variant : undefined , // default set in appState
140- campus : undefined ,
141- actualCampus : undefined ,
142- college : undefined ,
143- department : undefined ,
144- studentType : undefined ,
145- areaOfInterest : undefined ,
146- areaOfInterestOptional : false ,
147- programOfInterest : undefined ,
148- programOfInterestOptional : false ,
149- isCertMinor : false ,
150- country : undefined ,
151- stateProvince : undefined ,
152- successMsg : undefined ,
153- test : false ,
154- dataSourceDegreeSearch : DATA_SOURCE . DEGREE_SEARCH ,
155- dataSourceAsuOnline : DATA_SOURCE . ASU_ONLINE ,
156- dataSourceCountriesStates : DATA_SOURCE . COUNTRIES_STATES ,
157- } ;
158-
159137AsuRfi . propTypes = {
160138 appPathFolder : PropTypes . string ,
161139 variant : PropTypes . oneOf ( [ "rfiVariant1" , "rfiVariant2" ] ) ,
0 commit comments