chore: added handleEscapeButtonDown description
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 35s

This commit is contained in:
NostrDev 2024-11-04 10:42:55 +03:00
parent 76b1fa792c
commit 5b1654c341

View File

@ -351,6 +351,10 @@ export const DrawPDFFields = (props: Props) => {
event.stopPropagation() event.stopPropagation()
} }
/**
* Handles Escape button-down event and hides all signers dropdowns
* @param event SyntheticEvent event
*/
const handleEscapeButtonDown = (event: React.SyntheticEvent) => { const handleEscapeButtonDown = (event: React.SyntheticEvent) => {
// get native event // get native event
const { nativeEvent } = event const { nativeEvent } = event