Closed BiniCodes closed 1 year ago
Tests should work after merging: https://github.com/ubilabs/google-maps-react-hooks/pull/120
I think you wanted to handle this via isLoadingAPI, no? @plumdumpling
Yes, the
isLoadingAPI
state should do this. Please let's see what's wrong with it and fix it there.
Added a comment above the code for the check as I currently do not see another way :)
So this was sometimes occuring:
I think you wanted to handle this via
isLoadingAPI
, no? @plumdumpling This fixes it for now, but we got to recheck the loading of the script tag as the state ofisLoadingAPI
is false sometimes when loading the script and I think this is the main problem.