Remove leftover code
This commit is contained in:
parent
8d13928d67
commit
43b6fd3055
|
@ -91,9 +91,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
const updateFetch = email => {
|
const updateFetch = email => {
|
||||||
if (email == null && $fetch.query.email == null) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
fetch.update({
|
fetch.update({
|
||||||
query: {
|
query: {
|
||||||
email,
|
email,
|
||||||
|
|
|
@ -35,7 +35,6 @@ export const debounce = (callback, minDelay = 1000) => {
|
||||||
clearTimeout(timeout)
|
clearTimeout(timeout)
|
||||||
}
|
}
|
||||||
timeout = setTimeout(async () => {
|
timeout = setTimeout(async () => {
|
||||||
console.log("timeout reached!")
|
|
||||||
resolve(await callback(...params))
|
resolve(await callback(...params))
|
||||||
}, minDelay)
|
}, minDelay)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue