Esteves Enzo commited on
Commit
d2a707e
·
1 Parent(s): 0891679

unused log

Browse files
components/main/hooks/useInputGeneration.ts CHANGED
@@ -55,8 +55,6 @@ export const useInputGeneration = () => {
55
  client.setQueryData(["collections"], (old) => {
56
  const newArray = [...old as Collection[]]
57
  const index = newArray.findIndex((item: Collection) => item.id === id)
58
-
59
- console.log(data, index, newArray[index])
60
 
61
  newArray[index] = !data.ok ? {
62
  ...newArray[index],
 
55
  client.setQueryData(["collections"], (old) => {
56
  const newArray = [...old as Collection[]]
57
  const index = newArray.findIndex((item: Collection) => item.id === id)
 
 
58
 
59
  newArray[index] = !data.ok ? {
60
  ...newArray[index],