Skip to content

Commit

Permalink
Checking posthogs ffs
Browse files Browse the repository at this point in the history
  • Loading branch information
imariel2d committed Feb 14, 2024
1 parent eaeee0f commit cb74d76
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dolarenbancos",
"version": "0.1.53",
"version": "0.1.54",
"private": true,
"scripts": {
"prepare": "panda codegen && husky install",
Expand Down
20 changes: 12 additions & 8 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,19 @@ interface Data {
week: Record<string, Prices>
}

export default async function Home () {
const posthog = new PostHog(process.env.POSTHOG_KEY!!,
{
host: 'https://app.posthog.com',
flushAt: 1,
flushInterval: 0,
}
)
const posthog = new PostHog(process.env.POSTHOG_KEY!!,
{
host: 'https://app.posthog.com',
flushAt: 1,
flushInterval: 0,
}
)

if (posthog) {
log.info('... feli')
}

export default async function Home () {
const data = await getPrices()
const todayPrices = data.today
const { banxico } = todayPrices
Expand Down

0 comments on commit cb74d76

Please sign in to comment.