Closed peterwanggg closed 2 years ago
Addressed via changing the order and wording in the README
: https://github.com/tomayac/local-reverse-geocoder/commit/9b98e179f15917e6e142bcfd49b3e224e3d32ae4.
@tomayac the same error is thrown if you call init()
with an empty function
What do you mean by "empty function"?
Hi, thanks for this great library.
I got an error when following the usage code snippet without calling
init
. I fixed this locally by adding a check foroptions.countries === undefined
to the if statement on line 646 of index.js.