Skip to content

Commit

Permalink
Default to per market stats
Browse files Browse the repository at this point in the history
  • Loading branch information
xbtmatt committed Dec 20, 2024
1 parent 4797438 commit f82794e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/typescript/frontend/src/app/home/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,13 @@ export default async function Home({ searchParams }: HomePageParams) {
const country = headers().get("x-vercel-ip-country");
const region = headers().get("x-vercel-ip-country-region");
if (typeof country !== "string" || typeof region !== "string") {
console.log("no country or region1");
console.warn("no country or region1");
}

console.log({
console.warn({
countryCode: country,
regionCode: region,
});
};


return (
<HomePageComponent
Expand Down

0 comments on commit f82794e

Please sign in to comment.