We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a707e40 commit 6e48974Copy full SHA for 6e48974
src/Shared/Components/Header/utils.ts
@@ -20,7 +20,7 @@ import { LOGIN_COUNT } from '../../../Common'
20
const millisecondsInDay = 86400000
21
export const getDateInMilliseconds = (days) => 1 + new Date().valueOf() + (days ?? 0) * millisecondsInDay
22
23
-export const handlePostHogEventUpdate = async (eventName?: string): Promise<void> => {
+export const handlePostHogEventUpdate = async (eventName: string): Promise<void> => {
24
const payload = {
25
eventType: eventName,
26
key: LOGIN_COUNT,
0 commit comments