Remove unneeded logContext attribute
This commit is contained in:
@@ -299,7 +299,6 @@ export type MetricEvents = {
|
||||
'profile:followers:view': {
|
||||
contextProfileDid: string
|
||||
isOwnProfile: boolean
|
||||
logContext?: 'ProfileHeader'
|
||||
}
|
||||
'profile:followers:paginate': {
|
||||
contextProfileDid: string
|
||||
@@ -309,7 +308,6 @@ export type MetricEvents = {
|
||||
'profile:following:view': {
|
||||
contextProfileDid: string
|
||||
isOwnProfile: boolean
|
||||
logContext?: 'ProfileHeader'
|
||||
}
|
||||
'profile:following:paginate': {
|
||||
contextProfileDid: string
|
||||
|
||||
@@ -128,7 +128,6 @@ export function ProfileFollowers({name}: {name: string}) {
|
||||
logger.metric('profile:followers:view', {
|
||||
contextProfileDid: resolvedDid,
|
||||
isOwnProfile: isMe,
|
||||
logContext: 'ProfileHeader',
|
||||
})
|
||||
}
|
||||
}, [resolvedDid, isMe])
|
||||
|
||||
@@ -139,7 +139,6 @@ export function ProfileFollows({name}: {name: string}) {
|
||||
logger.metric('profile:following:view', {
|
||||
contextProfileDid: resolvedDid,
|
||||
isOwnProfile: isMe,
|
||||
logContext: 'ProfileHeader',
|
||||
})
|
||||
}
|
||||
}, [resolvedDid, isMe])
|
||||
|
||||
Reference in New Issue
Block a user