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