Skip to content

Commit 6e48974

Browse files
committed
chore: optional check removed
1 parent a707e40 commit 6e48974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Shared/Components/Header/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { LOGIN_COUNT } from '../../../Common'
2020
const millisecondsInDay = 86400000
2121
export const getDateInMilliseconds = (days) => 1 + new Date().valueOf() + (days ?? 0) * millisecondsInDay
2222

23-
export const handlePostHogEventUpdate = async (eventName?: string): Promise<void> => {
23+
export const handlePostHogEventUpdate = async (eventName: string): Promise<void> => {
2424
const payload = {
2525
eventType: eventName,
2626
key: LOGIN_COUNT,

0 commit comments

Comments
 (0)