diff --git a/client/src/utils/timeout.ts b/client/src/utils/timeout.ts deleted file mode 100644 index 29845b06b9e..00000000000 --- a/client/src/utils/timeout.ts +++ /dev/null @@ -1,7 +0,0 @@ -let timeoutHandler: ReturnType | null = null; -export const timeout = (callback: () => void, delay = 5000) => { - if (timeoutHandler) { - clearTimeout(timeoutHandler); - } - timeoutHandler = setTimeout(callback, delay); -};