@gustavo-valsechi/client 1.4.218 → 1.4.219

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.
@@ -42,7 +42,6 @@ var import_lodash = __toESM(require("lodash"));
42
42
  function InputSelectOption(props) {
43
43
  const target = (0, import_contexts.useTarget)();
44
44
  const [options, setOptions] = (0, import_react.useState)(props.options);
45
- console.log(options);
46
45
  (0, import_react.useEffect)(() => {
47
46
  const optionsElement = document.getElementById(`input-${props.name}-options`);
48
47
  if (!optionsElement) return;
@@ -9,7 +9,6 @@ import _ from "lodash";
9
9
  function InputSelectOption(props) {
10
10
  const target = useTarget();
11
11
  const [options, setOptions] = useState(props.options);
12
- console.log(options);
13
12
  useEffect(() => {
14
13
  const optionsElement = document.getElementById(`input-${props.name}-options`);
15
14
  if (!optionsElement) return;
@@ -154,14 +154,10 @@ const TargetProviderContainer = ({ children }) => {
154
154
  };
155
155
  const add = (target) => {
156
156
  const exists = import_lodash.default.find(memory, (data) => data.ref.current === target.ref.current);
157
- console.log("exists", exists);
158
157
  if (exists) return;
159
- console.log("target", target);
160
158
  memory.push(target);
161
- console.log("memory", memory);
162
159
  setTargets([...memory]);
163
160
  };
164
- console.log(targets);
165
161
  const remove = (ref) => {
166
162
  const index = import_lodash.default.findIndex(memory, (data) => data.ref.current === ref.current);
167
163
  insideMemory.splice(import_lodash.default.findIndex(insideMemory, (i) => i === index), 1);
@@ -120,14 +120,10 @@ const TargetProviderContainer = ({ children }) => {
120
120
  };
121
121
  const add = (target) => {
122
122
  const exists = _.find(memory, (data) => data.ref.current === target.ref.current);
123
- console.log("exists", exists);
124
123
  if (exists) return;
125
- console.log("target", target);
126
124
  memory.push(target);
127
- console.log("memory", memory);
128
125
  setTargets([...memory]);
129
126
  };
130
- console.log(targets);
131
127
  const remove = (ref) => {
132
128
  const index = _.findIndex(memory, (data) => data.ref.current === ref.current);
133
129
  insideMemory.splice(_.findIndex(insideMemory, (i) => i === index), 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gustavo-valsechi/client",
3
- "version": "1.4.218",
3
+ "version": "1.4.219",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",