From 4ab8d98e2c1e110a21734a5d9e06243b89f7ade3 Mon Sep 17 00:00:00 2001 From: Ruidy Date: Mon, 26 May 2025 15:53:09 +0200 Subject: [PATCH] refactor: remove unused SentryErrorButton component and adjust related files - Deleted the SentryErrorButton component as it was not needed. - Updated the cookbook page to remove the SentryErrorButton reference. - Adjusted the search component to fix a self-closing tag issue. - Ensured the toggleLike function call is correctly formatted in the view component. - Added sendDefaultPii option to Sentry configuration for improved error tracking. --- components/SentryErrorButton.vue | 91 -------------------------------- components/recipe/search.vue | 2 +- components/recipe/view.vue | 2 +- pages/cookbook.vue | 1 - sentry.client.config.ts | 1 + 5 files changed, 3 insertions(+), 94 deletions(-) delete mode 100644 components/SentryErrorButton.vue diff --git a/components/SentryErrorButton.vue b/components/SentryErrorButton.vue deleted file mode 100644 index 3222a29..0000000 --- a/components/SentryErrorButton.vue +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - diff --git a/components/recipe/search.vue b/components/recipe/search.vue index d20ef1f..7de18bd 100644 --- a/components/recipe/search.vue +++ b/components/recipe/search.vue @@ -10,7 +10,7 @@ :autofocus="autofocus" @focus="isFocused = true" @blur="isFocused = false" - /> + >