@gustavo-valsechi/client 1.4.275 → 1.4.276
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.
|
@@ -187,6 +187,7 @@ const TargetProviderContainer = ({ children }) => {
|
|
|
187
187
|
const add = (target) => {
|
|
188
188
|
const exists = import_lodash.default.find(memory, (data) => data.ref.current === target.ref.current);
|
|
189
189
|
if (exists) return;
|
|
190
|
+
console.log("memory", memory);
|
|
190
191
|
memory.push(target);
|
|
191
192
|
setTargets([...memory]);
|
|
192
193
|
};
|
|
@@ -153,6 +153,7 @@ const TargetProviderContainer = ({ children }) => {
|
|
|
153
153
|
const add = (target) => {
|
|
154
154
|
const exists = _.find(memory, (data) => data.ref.current === target.ref.current);
|
|
155
155
|
if (exists) return;
|
|
156
|
+
console.log("memory", memory);
|
|
156
157
|
memory.push(target);
|
|
157
158
|
setTargets([...memory]);
|
|
158
159
|
};
|