fix logcontext

This commit is contained in:
Samuel Newman
2025-08-21 16:20:58 +03:00
parent 06b072a289
commit f045e26f1e
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -249,6 +249,7 @@ export type MetricEvents = {
| 'PostOnboardingFindFollows'
| 'ImmersiveVideo'
| 'ExploreSuggestedAccounts'
| 'OnboardingSuggestedAccounts'
}
'suggestedUser:follow': {
logContext:
@@ -292,6 +293,7 @@ export type MetricEvents = {
| 'PostOnboardingFindFollows'
| 'ImmersiveVideo'
| 'ExploreSuggestedAccounts'
| 'OnboardingSuggestedAccounts'
}
'chat:create': {
logContext: 'ProfileHeader' | 'NewChatDialog' | 'SendViaChatDialog'
@@ -302,7 +302,7 @@ function SuggestedProfileCard({
profile={profile}
moderationOpts={moderationOpts}
withIcon={false}
logContext="ExploreSuggestedAccounts"
logContext="OnboardingSuggestedAccounts"
onFollow={() => {
logger.metric(
'suggestedUser:follow',