From 24c5554a4154e47dfc7914f6cb5725eb973e67d9 Mon Sep 17 00:00:00 2001 From: Tim van Veenendaal Date: Wed, 14 Jul 2021 15:18:57 +0200 Subject: [PATCH] Display last turn correctly and show last guess properly --- src/components/Die.vue | 12 ++++++++++++ src/services/PerudoApi.ts | 1 - src/views/Home.vue | 37 +++++++++++++++++++++++-------------- 3 files changed, 35 insertions(+), 15 deletions(-) create mode 100644 src/components/Die.vue diff --git a/src/components/Die.vue b/src/components/Die.vue new file mode 100644 index 0000000..9a38939 --- /dev/null +++ b/src/components/Die.vue @@ -0,0 +1,12 @@ + + + diff --git a/src/services/PerudoApi.ts b/src/services/PerudoApi.ts index b1a197a..204556e 100644 --- a/src/services/PerudoApi.ts +++ b/src/services/PerudoApi.ts @@ -66,7 +66,6 @@ export default class PerudoApi { } private post(url: string, data?: any,): AxiosPromise { - console.log(data); return axios.post(PerudoApi.baseUrl + url, data).then((response: AxiosResponse) => { // @ts-ignore if (response?.data?.errors?.length > 0) { diff --git a/src/views/Home.vue b/src/views/Home.vue index e1def9c..697ad74 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -30,21 +30,30 @@ The game has started, lets go!
-