Skip to content

Commit

Permalink
Update breadrumb/remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
leggetter committed Oct 27, 2021
1 parent c8d50b1 commit b074748
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions edge-functions/feature-flag-posthog/pages/_app.tsx
Expand Up @@ -10,8 +10,6 @@ import { PostHog } from 'posthog-js'
export default function MyApp({ Component, pageProps }: AppProps) {
const Layout = getLayout<LayoutProps>(Component)

console.log('calling usePostHog')

usePostHog(process.env.NEXT_PUBLIC_POSTHOG_PROJECT_API_KEY, {
api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST,
loaded: (posthog: PostHog) => {
Expand All @@ -24,7 +22,7 @@ export default function MyApp({ Component, pageProps }: AppProps) {
return (
<Layout
title="AB testing with PostHog"
path="nextjs-feature-flags-middleware"
path="feature-flag-posthog"
deployButton={{
env: [
'NEXT_PUBLIC_POSTHOG_PROJECT_API_KEY',
Expand Down

0 comments on commit b074748

Please sign in to comment.