From 2c378ad1a59d01f6bfc5e52fb3eabe537627d653 Mon Sep 17 00:00:00 2001 From: Eralpozcan Date: Wed, 31 May 2023 02:32:45 +0300 Subject: [PATCH 1/2] fix: deepsource bug fix --- src/components/AppleTree.vue | 2 +- src/components/EndScreen.vue | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/AppleTree.vue b/src/components/AppleTree.vue index 6e09bad..fa5fc60 100644 --- a/src/components/AppleTree.vue +++ b/src/components/AppleTree.vue @@ -7,7 +7,7 @@ const appleStore = useAppleTreeStore() diff --git a/src/components/EndScreen.vue b/src/components/EndScreen.vue index ea5ced3..5eef04a 100644 --- a/src/components/EndScreen.vue +++ b/src/components/EndScreen.vue @@ -4,11 +4,9 @@ import router from "../router"; const appleStore = useAppleTreeStore(); function resetNow() { - appleStore.setAppleIsGroundStatus(false); appleStore.setPlayingStatus(false); appleStore.setAppleIsBasketStatus(false); - router.push({ name: "home" }); } From 8bd786d28bc6c874351d3f1f4c5b884994905b37 Mon Sep 17 00:00:00 2001 From: Eralpozcan Date: Wed, 31 May 2023 02:39:28 +0300 Subject: [PATCH 2/2] fix: deepsource bug fix --- src/components/AppleTree.vue | 2 +- src/components/Apples.vue | 10 +++------- src/components/Basket.vue | 4 ++-- src/components/EndScreen.vue | 5 +++-- src/components/MainScreen.vue | 4 ++-- src/views/GameView.vue | 5 +---- src/views/HomeView.vue | 2 +- src/views/NotFoundView.vue | 6 +++--- 8 files changed, 16 insertions(+), 22 deletions(-) diff --git a/src/components/AppleTree.vue b/src/components/AppleTree.vue index fa5fc60..a7e1db2 100644 --- a/src/components/AppleTree.vue +++ b/src/components/AppleTree.vue @@ -1,6 +1,6 @@ diff --git a/src/components/Apples.vue b/src/components/Apples.vue index 320ef25..274ba64 100644 --- a/src/components/Apples.vue +++ b/src/components/Apples.vue @@ -1,6 +1,6 @@ diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 18b7be1..b664206 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -1,5 +1,5 @@