fix logcontext
This commit is contained in:
@@ -249,6 +249,7 @@ export type MetricEvents = {
|
|||||||
| 'PostOnboardingFindFollows'
|
| 'PostOnboardingFindFollows'
|
||||||
| 'ImmersiveVideo'
|
| 'ImmersiveVideo'
|
||||||
| 'ExploreSuggestedAccounts'
|
| 'ExploreSuggestedAccounts'
|
||||||
|
| 'OnboardingSuggestedAccounts'
|
||||||
}
|
}
|
||||||
'suggestedUser:follow': {
|
'suggestedUser:follow': {
|
||||||
logContext:
|
logContext:
|
||||||
@@ -292,6 +293,7 @@ export type MetricEvents = {
|
|||||||
| 'PostOnboardingFindFollows'
|
| 'PostOnboardingFindFollows'
|
||||||
| 'ImmersiveVideo'
|
| 'ImmersiveVideo'
|
||||||
| 'ExploreSuggestedAccounts'
|
| 'ExploreSuggestedAccounts'
|
||||||
|
| 'OnboardingSuggestedAccounts'
|
||||||
}
|
}
|
||||||
'chat:create': {
|
'chat:create': {
|
||||||
logContext: 'ProfileHeader' | 'NewChatDialog' | 'SendViaChatDialog'
|
logContext: 'ProfileHeader' | 'NewChatDialog' | 'SendViaChatDialog'
|
||||||
|
|||||||
@@ -302,7 +302,7 @@ function SuggestedProfileCard({
|
|||||||
profile={profile}
|
profile={profile}
|
||||||
moderationOpts={moderationOpts}
|
moderationOpts={moderationOpts}
|
||||||
withIcon={false}
|
withIcon={false}
|
||||||
logContext="ExploreSuggestedAccounts"
|
logContext="OnboardingSuggestedAccounts"
|
||||||
onFollow={() => {
|
onFollow={() => {
|
||||||
logger.metric(
|
logger.metric(
|
||||||
'suggestedUser:follow',
|
'suggestedUser:follow',
|
||||||
|
|||||||
Reference in New Issue
Block a user