From 1c406e3b648234f23390ea071752100d4f642e68 Mon Sep 17 00:00:00 2001 From: nuanyang233 Date: Thu, 26 May 2022 15:17:57 +0800 Subject: [PATCH] fix: add missing deps --- .../src/components/InjectedComponents/ProfileTabContent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mask/src/components/InjectedComponents/ProfileTabContent.tsx b/packages/mask/src/components/InjectedComponents/ProfileTabContent.tsx index 0487f9d1b095..aaf461822524 100644 --- a/packages/mask/src/components/InjectedComponents/ProfileTabContent.tsx +++ b/packages/mask/src/components/InjectedComponents/ProfileTabContent.tsx @@ -124,7 +124,7 @@ export function ProfileTabContent(props: ProfileTabContentProps) { ? displayPlugins?.find((tab) => tab?.pluginID === PluginId.NextID)?.ID : selectedTabId return getTabContent(tabId ?? '') - }, [selectedTabId, identity.identifier?.userId]) + }, [selectedTabId, identity.identifier?.userId, currentAccountNotConnectPersona]) if (hidden) return null