"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "b4bdea6d85047e58aeab80941d9a1ac78e61f0b7"
Commit ed8c0b23 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

refac

parent c8f44b73
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
let debounceTimer; let debounceTimer;
const debounceSubmitHandler = async () => { const debounceSubmitHandler = async () => {
// debounce 1 second
if (debounceTimer) { if (debounceTimer) {
clearTimeout(debounceTimer); clearTimeout(debounceTimer);
} }
...@@ -42,7 +41,7 @@ ...@@ -42,7 +41,7 @@
// Set a new timer // Set a new timer
debounceTimer = setTimeout(() => { debounceTimer = setTimeout(() => {
submitHandler(); submitHandler();
}, 1000); // 1 second debounce }, 500); // 0.5 second debounce
}; };
const getUserValves = async () => { const getUserValves = async () => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment