@woosmap/ui 4.203.0 → 4.205.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -143,15 +143,13 @@ export default class AutocompleteAddressDemo extends Component {
|
|
|
143
143
|
},
|
|
144
144
|
})
|
|
145
145
|
.then((response) => {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
);
|
|
154
|
-
}
|
|
146
|
+
this.setState(
|
|
147
|
+
{
|
|
148
|
+
error: null,
|
|
149
|
+
selectedLocality: response.data.result,
|
|
150
|
+
},
|
|
151
|
+
() => this.displayOnMap(),
|
|
152
|
+
);
|
|
155
153
|
})
|
|
156
154
|
.catch((error) => {
|
|
157
155
|
const errorResult = (error && error.response && error.response.data) || 'Unhandled error';
|