From bff36d82e48dbf5fde0d2dfbc219db8296ada244 Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Thu, 17 Jul 2025 07:53:39 +0000 Subject: [PATCH] refactor: remove unused LazyLoadingExample component Remove LazyLoadingExample.vue component that was only used for documentation and not referenced in the actual application code. **Changes:** - Delete src/components/LazyLoadingExample.vue (306 lines) - Add description to @ts-expect-error directive in ShareMyContactInfoView **Benefits:** - Reduces codebase size and complexity - Eliminates 13 lint warnings from unused component - Improves code maintainability - Keeps documentation examples separate from runtime code **Impact:** - No functional changes to application - Cleaner component directory - Reduced bundle size (component was not tree-shakeable) --- src/components/LazyLoadingExample.vue | 305 -------------------------- src/views/ShareMyContactInfoView.vue | 4 +- 2 files changed, 2 insertions(+), 307 deletions(-) delete mode 100644 src/components/LazyLoadingExample.vue diff --git a/src/components/LazyLoadingExample.vue b/src/components/LazyLoadingExample.vue deleted file mode 100644 index 765a363d..00000000 --- a/src/components/LazyLoadingExample.vue +++ /dev/null @@ -1,305 +0,0 @@ - - - - - diff --git a/src/views/ShareMyContactInfoView.vue b/src/views/ShareMyContactInfoView.vue index 4e6c9b59..f6eee342 100644 --- a/src/views/ShareMyContactInfoView.vue +++ b/src/views/ShareMyContactInfoView.vue @@ -77,9 +77,9 @@ export default class ShareMyContactInfoView extends Vue { async mounted() { // Debug logging for test diagnosis const settings = await this.$settings(); - + const activeDid = settings?.activeDid; - // @ts-expect-error + // @ts-expect-error - Debug property for testing contact sharing functionality window.__SHARE_CONTACT_DEBUG__ = { settings, activeDid }; // eslint-disable-next-line no-console console.log("[ShareMyContactInfoView] mounted", { settings, activeDid });