Fix conflicting types
This commit is contained in:
@@ -313,10 +313,10 @@ export type MetricEvents = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
'moderation:subscribedToList': {
|
'moderation:subscribedToList': {
|
||||||
type: 'mute' | 'block'
|
listType: 'mute' | 'block'
|
||||||
}
|
}
|
||||||
'moderation:unsubscribedFromList': {
|
'moderation:unsubscribedFromList': {
|
||||||
type: 'mute' | 'block'
|
listType: 'mute' | 'block'
|
||||||
}
|
}
|
||||||
|
|
||||||
'reportDialog:open': {
|
'reportDialog:open': {
|
||||||
|
|||||||
@@ -404,7 +404,7 @@ function Header({
|
|||||||
Toast.show(_(msg`List muted`))
|
Toast.show(_(msg`List muted`))
|
||||||
logger.metric(
|
logger.metric(
|
||||||
'moderation:subscribedToList',
|
'moderation:subscribedToList',
|
||||||
{type: 'mute'},
|
{listType: 'mute'},
|
||||||
{statsig: true},
|
{statsig: true},
|
||||||
)
|
)
|
||||||
}, [list, listMuteMutation, _])
|
}, [list, listMuteMutation, _])
|
||||||
@@ -424,7 +424,7 @@ function Header({
|
|||||||
Toast.show(_(msg`List unmuted`))
|
Toast.show(_(msg`List unmuted`))
|
||||||
logger.metric(
|
logger.metric(
|
||||||
'moderation:unsubscribedFromList',
|
'moderation:unsubscribedFromList',
|
||||||
{type: 'mute'},
|
{listType: 'mute'},
|
||||||
{statsig: true},
|
{statsig: true},
|
||||||
)
|
)
|
||||||
}, [list, listMuteMutation, _])
|
}, [list, listMuteMutation, _])
|
||||||
@@ -444,7 +444,7 @@ function Header({
|
|||||||
Toast.show(_(msg`List blocked`))
|
Toast.show(_(msg`List blocked`))
|
||||||
logger.metric(
|
logger.metric(
|
||||||
'moderation:subscribedToList',
|
'moderation:subscribedToList',
|
||||||
{type: 'block'},
|
{listType: 'block'},
|
||||||
{statsig: true},
|
{statsig: true},
|
||||||
)
|
)
|
||||||
}, [list, listBlockMutation, _])
|
}, [list, listBlockMutation, _])
|
||||||
@@ -464,7 +464,7 @@ function Header({
|
|||||||
Toast.show(_(msg`List unblocked`))
|
Toast.show(_(msg`List unblocked`))
|
||||||
logger.metric(
|
logger.metric(
|
||||||
'moderation:unsubscribedFromList',
|
'moderation:unsubscribedFromList',
|
||||||
{type: 'block'},
|
{listType: 'block'},
|
||||||
{statsig: true},
|
{statsig: true},
|
||||||
)
|
)
|
||||||
}, [list, listBlockMutation, _])
|
}, [list, listBlockMutation, _])
|
||||||
|
|||||||
Reference in New Issue
Block a user