fix: stop event propagation when click "Temporarily display this reply" button
This commit is contained in:
parent
3d2f19427a
commit
cb32439896
1 changed files with 4 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue