Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mbthiery committed Aug 26, 2024
1 parent ca3d941 commit b9e222f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Header/HotspotSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function HotspotSearch() {

try {
const searchUrl = new URL(
`${process.env.NEXT_PUBLIC_HELIUMGEEK_EXPLORER_API2_URL}`
`${process.env.NEXT_PUBLIC_HELIUMGEEK_EXPLORER_API_URL}`
)
searchUrl.searchParams.append("name", query.trim())

Expand Down
4 changes: 1 addition & 3 deletions src/components/HotspotsMap/HexHotspots.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,8 @@ function getGroupedHotspots(hotspots: Hotspot[]) {
}

export async function HexHotspots({ hexId }: { hexId: string }) {
console.log(process.env.NEXT_PUBLIC_HELIUMGEEK_EXPLORER_API2_URL)
console.log(process.env.NEXT_PUBLIC_HELIUMGEEK_EXPLORER_API_TOKEN)
const hotspots = (await fetch(
`${process.env.NEXT_PUBLIC_HELIUMGEEK_EXPLORER_API2_URL}/hex/${hexId}`,
`${process.env.NEXT_PUBLIC_HELIUMGEEK_EXPLORER_API_URL}/hex/${hexId}`,
{
headers: {
"x-api-key": `${process.env.NEXT_PUBLIC_HELIUMGEEK_EXPLORER_API_TOKEN}`,
Expand Down

0 comments on commit b9e222f

Please sign in to comment.