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
|
<Button
|
||||||
variant="outline"
|
variant="outline"
|
||||||
className="text-muted-foreground font-medium mt-2"
|
className="text-muted-foreground font-medium mt-2"
|
||||||
onClick={() => setShowMuted(true)}
|
onClick={(e) => {
|
||||||
|
e.stopPropagation()
|
||||||
|
setShowMuted(true)
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
{t('Temporarily display this reply')}
|
{t('Temporarily display this reply')}
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user