mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 12:43:11 +10:00
Remove clearing of sessionToken when the input is empty
Note: this might be reversed, if there's some time limit for tokens)
This commit is contained in:
parent
f4fbb22b3c
commit
aeac2cd960
1 changed files with 0 additions and 1 deletions
|
|
@ -217,7 +217,6 @@ class LocationAutocompleteInput extends Component {
|
|||
this.setState({ highlightedIndex: -1 });
|
||||
|
||||
if (!newValue) {
|
||||
this.autocompleteSessionToken = null;
|
||||
// No need to fetch predictions on empty input
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue