stopPropagation of click event in alert
This commit is contained in:
parent
c2bf474136
commit
c771e4a74d
|
@ -49,6 +49,7 @@ const Alert = () => {
|
|||
>
|
||||
<div
|
||||
className="Alert"
|
||||
onClick={(evt) => evt.stopPropagation()}
|
||||
>
|
||||
<h2>{alertTitle}</h2>
|
||||
<p className="modaltext">
|
||||
|
|
Loading…
Reference in New Issue
Block a user