From 1417eed7ef9fd66b2f750e62b7a6350d0ed005c7 Mon Sep 17 00:00:00 2001 From: marzban-dev Date: Wed, 29 Jan 2025 22:44:15 +0330 Subject: [PATCH] Remove timer --- frontend/composables/api/product/useGetCategories.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/composables/api/product/useGetCategories.ts b/frontend/composables/api/product/useGetCategories.ts index 10b34aa..47f3a2e 100644 --- a/frontend/composables/api/product/useGetCategories.ts +++ b/frontend/composables/api/product/useGetCategories.ts @@ -17,7 +17,6 @@ const useGetCategories = () => { const handleGetCategories = async () => { const { data } = await axios.get(`${API_ENDPOINTS.products.categories}`); - await new Promise(resolve => setTimeout(resolve, 5000)); return data; };