From fc28fb489dff5046af27600a939a6efd201a3a89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateus=20=C3=81vila=20Isidoro?= Date: Sat, 30 Mar 2024 19:23:23 -0300 Subject: [PATCH] Update index.vue add comment --- pages/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/index.vue b/pages/index.vue index dddcc9e..36882b4 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -29,6 +29,7 @@ const fetchHistory = async () => { try { fetchHistoryLoading.value = true; + // você já tem o useFetch e o $fetch no nuxt. Tu instalou o ofetch para ter ele duas vezes. Veja este vídeo para tirar dúvidas: https://www.youtube.com/watch?v=njsGVmcWviY&t=21s const { data: { price_history: history } } = await $http.mobula.getCryptoPriceHistory({ crypto: crypto.value, from: dateToUnixTimestamp(date.value),