From ad86372bfb345b6f921da783c401be30cdbe4b89 Mon Sep 17 00:00:00 2001 From: karasu Date: Sat, 26 Oct 2024 14:22:35 +0800 Subject: [PATCH] fix(modal): repeat user profile dialog (#1155) --- apps/renderer/src/modules/profile/hooks.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/renderer/src/modules/profile/hooks.ts b/apps/renderer/src/modules/profile/hooks.ts index c8e2f3ece..e0c2f85b8 100644 --- a/apps/renderer/src/modules/profile/hooks.ts +++ b/apps/renderer/src/modules/profile/hooks.ts @@ -55,6 +55,7 @@ export const usePresentUserProfileModal = (variant: Variant = "dialog") => { present({ title: "User Profile", + id: `user-profile-${userId}`, content: () => createElement(LazyUserProfileModalContent, { userId,