aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2020-04-13 00:03:13 -0700
committerSam Wilkins <samwilkins333@gmail.com>2020-04-13 00:03:13 -0700
commite3a5dc3ce59b1d8f2dde63395505061b304d64c0 (patch)
tree4c67467a701a305d8af41e559b63275aa9b3e77c /src/client/views/collections
parentcfe2272c7f9a63edd449b460b31f0c45a77a07ca (diff)
completed migration to webpack-transferred environment variables, rather than a server route
Diffstat (limited to 'src/client/views/collections')
-rw-r--r--src/client/views/collections/CollectionMapView.tsx8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/client/views/collections/CollectionMapView.tsx b/src/client/views/collections/CollectionMapView.tsx
index 6ab152836..a99d5be50 100644
--- a/src/client/views/collections/CollectionMapView.tsx
+++ b/src/client/views/collections/CollectionMapView.tsx
@@ -64,10 +64,4 @@ class CollectionMapView extends CollectionSubView<MapDocument, Partial<MapProps>
}
-declare var process: {
- env: {
- GOOGLE_MAPS_API_KEY: string;
- }
-};
-
-export default GoogleApiWrapper({ apiKey: process.env.GOOGLE_MAPS_API_KEY })(CollectionMapView) as any; \ No newline at end of file
+export default GoogleApiWrapper({ apiKey: process.env.GOOGLE_MAPS_API_KEY! })(CollectionMapView) as any; \ No newline at end of file