Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
erkurn authored and github-actions[bot] committed Sep 27, 2022
1 parent 737e48a commit 680ea36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forms/Components/AddressPicker.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Filament\Forms\Components\Concerns\HasPlaceholder;
use Filament\Forms\Components\Field;
use Geocoder\Provider\Cache\ProviderCache;
use Geocoder\Provider\GoogleMaps\GoogleMaps;
use Geocoder\Query\ReverseQuery;
use GuzzleHttp\Client;
Expand Down Expand Up @@ -87,6 +86,7 @@ public function getAddresses(): \Geocoder\Collection
$provider = new GoogleMaps($httpClient, null, $this->getApiKey());

$geocoder = new \Geocoder\StatefulGeocoder($provider, 'en');

return $geocoder->reverseQuery(ReverseQuery::fromCoordinates(
data_get($this->getState(), 'lat'),
data_get($this->getState(), 'lng')
Expand Down

0 comments on commit 680ea36

Please sign in to comment.