Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: npm run build:storybook
env:
NODE_OPTIONS: --max_old_space_size=4096
VITE_APP_GOOGLE_MAPS_API_KEY: ${{ vars.GOOGLE_MAPS_API_KEY }}
VITE_APP_GOOGLE_MAPS_API_KEY: ${{ secrets.GOOGLE_MAPS_API_KEY }}

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ Prefix the change with one of these keywords:

## [Unreleased]

### Security

- Rotated leaked Google Maps API key and moved to GitHub Secrets
- Fixed incorrect env var in `LocationPicker` component

### Added

- Circle dollar icon
Expand Down
2 changes: 1 addition & 1 deletion lib/components/LocationPicker/LocationPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function LocationPicker({ address, markerCallback }: ILocationPickerProps
const inputRef = useRef<HTMLInputElement | null>(null)

const { isLoaded } = useJsApiLoader({
googleMapsApiKey: import.meta.env.VITE_GOOGLE_MAPS_API_KEY,
googleMapsApiKey: import.meta.env.VITE_APP_GOOGLE_MAPS_API_KEY,
libraries,
})

Expand Down
Loading