Skip to content

Commit

Permalink
fix: remove unnecessary track function call
Browse files Browse the repository at this point in the history
  • Loading branch information
SebConejo committed Jan 8, 2025
1 parent eeb97f7 commit 2920728
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions src/app/components/InstallCLI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ import './InstallCLI.scss'
import { track } from '@vercel/analytics/server'
import React, { useState } from 'react'

// Track the copy event
track('Copy')

const InstallCLI: React.FC = () => {
const [isCopied, setIsCopied] = useState(false)
const command = 'npx add-manifest'
Expand Down
2 changes: 0 additions & 2 deletions src/app/components/layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
'use client'
import { track } from '@vercel/analytics/server'

track('Install')

const Header = () => {
return (
<nav
Expand Down
4 changes: 0 additions & 4 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ import InstallCLI from './components/InstallCLI'
import LiveCodeHero from './components/LiveCodeHero'
import SubscribeForm from './components/SubscribeForm'

track('Install')
track('Star')
track('Sponsor')

export default function Home() {
return (
<div>
Expand Down

0 comments on commit 2920728

Please sign in to comment.