@kenos-ui/react-datepicker 0.3.3 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -912,11 +912,7 @@ function Content({
912
912
  input: document.getElementById(ids.input) ?? document.getElementById(`${ids.input}-0`)
913
913
  });
914
914
  }, [dispatch, ids.input, ids.trigger, state.openSource]);
915
- useClickOutside(
916
- [contentRef, triggerRef, inputRef, input0Ref, input1Ref],
917
- close,
918
- isOpen
919
- );
915
+ useClickOutside([contentRef, triggerRef, inputRef, input0Ref, input1Ref], close, isOpen);
920
916
  useEscapeKey({
921
917
  enabled: isOpen,
922
918
  stopPropagation: true,