Skip to content

Commit dc7a130

Browse files
authored
Update AddAccountAddress.js
1 parent 886887f commit dc7a130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/account/AddAccountAddress.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class AddAccountAddress extends Component {
126126
renderRegions = () => {
127127
const theme = this.context;
128128
const { countryId, countries } = this.props;
129-
if (countryId && countryId.length && countries.length) {
129+
if (countryId && countryId.length && countries && countries.length) {
130130
const country = countries.find(item => item.id === countryId);
131131
if (country && country.available_regions) {
132132
const data = country.available_regions.map(value => ({

0 commit comments

Comments
 (0)