(event?: React.SyntheticEvent | Event,
reason?: string)
| 135 | } |
| 136 | |
| 137 | const handleClose = (event?: React.SyntheticEvent | Event, |
| 138 | reason?: string) => { |
| 139 | if (reason === 'clickaway') { |
| 140 | return |
| 141 | } |
| 142 | setOpenErrorAlert(false) |
| 143 | disconnect() |
| 144 | props.onClose() |
| 145 | } |
| 146 | |
| 147 | return ( |
| 148 | <div |
nothing calls this directly
no test coverage detected