Remove duplicate toasts
This commit is contained in:
@@ -401,7 +401,6 @@ function Header({
|
|||||||
)
|
)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
Toast.show(_(msg`List muted`))
|
|
||||||
logger.metric(
|
logger.metric(
|
||||||
'moderation:subscribedToList',
|
'moderation:subscribedToList',
|
||||||
{listType: 'mute'},
|
{listType: 'mute'},
|
||||||
@@ -421,7 +420,6 @@ function Header({
|
|||||||
)
|
)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
Toast.show(_(msg`List unmuted`))
|
|
||||||
logger.metric(
|
logger.metric(
|
||||||
'moderation:unsubscribedFromList',
|
'moderation:unsubscribedFromList',
|
||||||
{listType: 'mute'},
|
{listType: 'mute'},
|
||||||
@@ -441,7 +439,6 @@ function Header({
|
|||||||
)
|
)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
Toast.show(_(msg`List blocked`))
|
|
||||||
logger.metric(
|
logger.metric(
|
||||||
'moderation:subscribedToList',
|
'moderation:subscribedToList',
|
||||||
{listType: 'block'},
|
{listType: 'block'},
|
||||||
@@ -461,7 +458,6 @@ function Header({
|
|||||||
)
|
)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
Toast.show(_(msg`List unblocked`))
|
|
||||||
logger.metric(
|
logger.metric(
|
||||||
'moderation:unsubscribedFromList',
|
'moderation:unsubscribedFromList',
|
||||||
{listType: 'block'},
|
{listType: 'block'},
|
||||||
|
|||||||
Reference in New Issue
Block a user