(event: MouseEvent)
| 29 | }, [open]) |
| 30 | |
| 31 | const handleClickOutside = (event: MouseEvent) => { |
| 32 | if ( |
| 33 | modalRef.current && |
| 34 | !modalRef.current.contains(event.target as Node) |
| 35 | ) { |
| 36 | setIsOpen(false) |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | const handleClose = () => { |
| 41 | setIsOpen(false) |
nothing calls this directly
no outgoing calls
no test coverage detected