Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
props={styles.inputs}
textTitle={'State/Region'}
component={Input}
name="stateRegion"
validate={[required, nonEmpty, isTrimmed]}
placeholder={'State/Region'}
style={authInput}
labelStyle={authLabel}
placeholderStyle={inputLightText}
/>
{usLocations.indexOf(this.state.country.toLowerCase()) !== -1 && usCity}
);
}
}
render() {
return (
);
}
}
render() {
let myStats = ;
if (this.props.statsLoading === false && this.props.statsError === null && this.props.stats !== {}) {
let stats = this.props.stats;
myStats =