()
| 952 | // Close raises the post over the page first, so the way out looks like |
| 953 | // the way in played backwards. |
| 954 | const onClose = () => { |
| 955 | closedBy.current = CloseReason.Close; |
| 956 | rise.current?.(); |
| 957 | }; |
| 958 | |
| 959 | const runMenu = (action: () => void) => () => { |
| 960 | setIsMenuOpen(false); |
no outgoing calls
no test coverage detected