@hoddy-ui/core 1.0.10 → 1.0.11
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
|
@@ -16,7 +16,10 @@ import Typography from "./Typography";
|
|
|
16
16
|
const { GOOGLE_MAP_API_KEY } = getApiKey();
|
|
17
17
|
|
|
18
18
|
if (GOOGLE_MAP_API_KEY) Location.setGoogleApiKey(GOOGLE_MAP_API_KEY);
|
|
19
|
-
else
|
|
19
|
+
else
|
|
20
|
+
console.error(
|
|
21
|
+
"Google map api key needs to be set to use this component \nMake sure to run initialize() with a valid google map api key"
|
|
22
|
+
);
|
|
20
23
|
|
|
21
24
|
type predictionType = {
|
|
22
25
|
id: string;
|
|
@@ -224,4 +227,3 @@ export const Locator: React.FC<LocatorProps> = ({
|
|
|
224
227
|
</View>
|
|
225
228
|
);
|
|
226
229
|
};
|
|
227
|
-
|