From d265a6f5bc5d760c29cd4fdc33dc10ce8c07d7eb Mon Sep 17 00:00:00 2001 From: Matilde Park Date: Wed, 31 Mar 2021 15:13:58 -0400 Subject: [PATCH] ViewProfile: clone contact groups array Fixes urbit/landscape#682 --- pkg/interface/src/views/apps/profile/components/ViewProfile.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/interface/src/views/apps/profile/components/ViewProfile.tsx b/pkg/interface/src/views/apps/profile/components/ViewProfile.tsx index ddd2de9c4..b8b359e34 100644 --- a/pkg/interface/src/views/apps/profile/components/ViewProfile.tsx +++ b/pkg/interface/src/views/apps/profile/components/ViewProfile.tsx @@ -62,7 +62,7 @@ export function ViewProfile(props: any): ReactElement { Pinned Groups - {contact?.groups.sort(lengthOrder).map((g) => ( + {contact?.groups.slice().sort(lengthOrder).map((g) => (