@gustavo-valsechi/client 1.4.96 → 1.4.97
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.
|
@@ -101,7 +101,7 @@ const TargetProviderContainer = ({ children }) => {
|
|
|
101
101
|
var _a;
|
|
102
102
|
const element = (_a = target.ref) == null ? void 0 : _a.current;
|
|
103
103
|
console.log(target);
|
|
104
|
-
console.log(element);
|
|
104
|
+
console.log(element.addEventListener);
|
|
105
105
|
if (!(element == null ? void 0 : element.addEventListener)) return;
|
|
106
106
|
element.addEventListener("click", () => {
|
|
107
107
|
const targetElement = import_lodash.default.find(containerRef.current, (data, i) => i === index);
|
|
@@ -67,7 +67,7 @@ const TargetProviderContainer = ({ children }) => {
|
|
|
67
67
|
var _a;
|
|
68
68
|
const element = (_a = target.ref) == null ? void 0 : _a.current;
|
|
69
69
|
console.log(target);
|
|
70
|
-
console.log(element);
|
|
70
|
+
console.log(element.addEventListener);
|
|
71
71
|
if (!(element == null ? void 0 : element.addEventListener)) return;
|
|
72
72
|
element.addEventListener("click", () => {
|
|
73
73
|
const targetElement = _.find(containerRef.current, (data, i) => i === index);
|