@sanity/ui 2.8.4 → 2.8.5

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
@@ -188,7 +188,7 @@ function useClickOutsideEvent(listener, elementsArg = () => EMPTY_ARRAY, boundar
188
188
  return document.addEventListener("mousedown", handleEvent), () => {
189
189
  document.removeEventListener("mousedown", handleEvent);
190
190
  };
191
- }, [hasListener, onEvent]);
191
+ }, [hasListener, onEvent]), react.useDebugValue(listener ? "MouseDown On" : "MouseDown Off");
192
192
  }
193
193
  function useCustomValidity(ref, customValidity) {
194
194
  react.useEffect(() => {