Fix conflicting types

This commit is contained in:
Eric Bailey
2025-03-06 14:03:47 -06:00
parent b23a042c68
commit 679e2b1995
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -313,10 +313,10 @@ export type MetricEvents = {
}
'moderation:subscribedToList': {
type: 'mute' | 'block'
listType: 'mute' | 'block'
}
'moderation:unsubscribedFromList': {
type: 'mute' | 'block'
listType: 'mute' | 'block'
}
'reportDialog:open': {
+4 -4
View File
@@ -404,7 +404,7 @@ function Header({
Toast.show(_(msg`List muted`))
logger.metric(
'moderation:subscribedToList',
{type: 'mute'},
{listType: 'mute'},
{statsig: true},
)
}, [list, listMuteMutation, _])
@@ -424,7 +424,7 @@ function Header({
Toast.show(_(msg`List unmuted`))
logger.metric(
'moderation:unsubscribedFromList',
{type: 'mute'},
{listType: 'mute'},
{statsig: true},
)
}, [list, listMuteMutation, _])
@@ -444,7 +444,7 @@ function Header({
Toast.show(_(msg`List blocked`))
logger.metric(
'moderation:subscribedToList',
{type: 'block'},
{listType: 'block'},
{statsig: true},
)
}, [list, listBlockMutation, _])
@@ -464,7 +464,7 @@ function Header({
Toast.show(_(msg`List unblocked`))
logger.metric(
'moderation:unsubscribedFromList',
{type: 'block'},
{listType: 'block'},
{statsig: true},
)
}, [list, listBlockMutation, _])