fix: stop event propagation when click "Temporarily display this reply" button
This commit is contained in:
@@ -77,7 +77,10 @@ export default function ReplyNote({
|
||||
<Button
|
||||
variant="outline"
|
||||
className="text-muted-foreground font-medium mt-2"
|
||||
onClick={() => setShowMuted(true)}
|
||||
onClick={(e) => {
|
||||
e.stopPropagation()
|
||||
setShowMuted(true)
|
||||
}}
|
||||
>
|
||||
{t('Temporarily display this reply')}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user