From f8d3b3ac7b852581171f76de24330615326ad749 Mon Sep 17 00:00:00 2001 From: Brandon Winger-Air Date: Sun, 21 Jan 2024 23:35:08 -0500 Subject: [PATCH] suggested search result links and remove testing comment & log --- pages/games/[id].vue | 3 --- pages/index.vue | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/pages/games/[id].vue b/pages/games/[id].vue index 66243df..003a2a4 100644 --- a/pages/games/[id].vue +++ b/pages/games/[id].vue @@ -31,9 +31,6 @@ const gameId = computed(() => route.params.id); const gameUrl = `${config.public.fetchBaseUrl}api/games/${gameId.value}`; -console.log(gameUrl); - - const { data } = await useFetch(gameUrl); const imgUrl = computed(() => data.value?.results.image.original_url ? data.value?.results.image.original_url : '/254x356-gamepad.png'); diff --git a/pages/index.vue b/pages/index.vue index 8ab2744..ab104be 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -16,7 +16,7 @@ />
    - +
  • {{ game.name }}