From e89ad435e90494b4da9a7daa55d680414e352435 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 1 Dec 2023 17:54:19 +0200 Subject: [PATCH] Fix creator links in modals --- src/components/creatorsStaking/Creators/AccountPreview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/creatorsStaking/Creators/AccountPreview.tsx b/src/components/creatorsStaking/Creators/AccountPreview.tsx index de7fd6f0..9691ec99 100644 --- a/src/components/creatorsStaking/Creators/AccountPreview.tsx +++ b/src/components/creatorsStaking/Creators/AccountPreview.tsx @@ -17,7 +17,7 @@ const AccountPreview = ({ space, spaceId }: AccountPreviewProps) => { const { name, ownedByAccount, image, email, links, postsCount } = space || {} - const contactInfo = { email, links } + const contactInfo = { email, links: links?.filter(x => x !== 'null') } const owner = ownedByAccount?.id