Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
deferAction(activateTrap);
} else {
detachHandler();
lastActiveFocus = null;
}
}
// bind medium
mediumFocus.assignSyncMedium(onFocus);
mediumBlur.assignMedium(onBlur);
mediumEffect.assignMedium(cb => cb({
moveFocusInside,
focusInside,
}));
export default withSideEffect(
reducePropsToState,
handleStateChangeOnClient,
)(FocusWatcher);