From 9c72fcc9b49c9d8dc20da2bc381ae6daf078bff6 Mon Sep 17 00:00:00 2001
From: Ansh <anshnanda10@gmail.com>
Date: Wed, 13 Sep 2023 04:05:34 +0530
Subject: share mute list link with did not handle (#1438)

---
 src/view/screens/ProfileList.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/view/screens/ProfileList.tsx')

diff --git a/src/view/screens/ProfileList.tsx b/src/view/screens/ProfileList.tsx
index 322f99486..11a847db3 100644
--- a/src/view/screens/ProfileList.tsx
+++ b/src/view/screens/ProfileList.tsx
@@ -97,9 +97,9 @@ export const ProfileListScreen = withAuthRequired(
     }, [store, list])
 
     const onPressShareList = React.useCallback(() => {
-      const url = toShareUrl(`/profile/${name}/lists/${rkey}`)
+      const url = toShareUrl(`/profile/${list.creatorDid}/lists/${rkey}`)
       shareUrl(url)
-    }, [name, rkey])
+    }, [list.creatorDid, rkey])
 
     const renderEmptyState = React.useCallback(() => {
       return <EmptyState icon="users-slash" message="This list is empty!" />
-- 
cgit 1.4.1

