Skip to content

Commit 55130f3

Browse files
authored
Revert "Early return to temporarily disable event tracking during DDOS" (#55139)
1 parent af92da5 commit 55130f3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/events/components/events.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint-disable camelcase, no-unreachable */
1+
/* eslint-disable camelcase */
22
import Cookies from 'src/frame/components/lib/cookies'
33
import { parseUserAgent } from './user-agent'
44
import { Router } from 'next/router'
@@ -76,9 +76,6 @@ export function sendEvent<T extends EventType>({
7676
} & EventPropsByType[T]) {
7777
if (isHeadless()) return
7878

79-
// Early return to disable event tracking
80-
return
81-
8279
const body = {
8380
type,
8481

0 commit comments

Comments
 (0)