Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Commit

Permalink
add key to google map component and leave default port
Browse files Browse the repository at this point in the history
  • Loading branch information
Slimaeus committed Sep 30, 2023
1 parent d3fe574 commit e08da63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions apps/cms/app/(dash)/orders/[orderId]/GoogleMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ function GoogleMapComponent({ orderId }: { orderId: string }) {
zoom={5}
onLoad={onLoad}
onUnmount={onUnmount}
key={`${process.env.NEXT_PUBLIC_GOOGLE_MAP_API_KEY}`}
>
<>
{/* {directionsServiceOptions &&
Expand Down
6 changes: 2 additions & 4 deletions apps/cms/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
"defaultConfiguration": "development",
"options": {
"buildTarget": "cms:build",
"dev": true,
"port": 80
"dev": true
},
"configurations": {
"development": {
Expand All @@ -33,8 +32,7 @@
},
"production": {
"buildTarget": "cms:build:production",
"dev": false,
"port": 80
"dev": false
}
}
},
Expand Down

0 comments on commit e08da63

Please sign in to comment.