From 10c040871320bf04afb03f79ad35030e937c8de0 Mon Sep 17 00:00:00 2001 From: hassnian <44554284+hassnian@users.noreply.github.com> Date: Fri, 29 Nov 2024 11:27:46 +0500 Subject: [PATCH] fix: profile interactions test --- components/profile/ProfileDetail.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/profile/ProfileDetail.vue b/components/profile/ProfileDetail.vue index 74a7f33458..e71059b6e6 100644 --- a/components/profile/ProfileDetail.vue +++ b/components/profile/ProfileDetail.vue @@ -619,7 +619,9 @@ const buttonConfig = computed(() => ) const switchToTab = (tab: ProfileTab) => { - activeTab.value = tab + if (activeTab.value !== tab) { + activeTab.value = tab + } } const onFollowersClick = () => {