From 31c4aeb793ffc8b5b8afc187aaf3c818f047c450 Mon Sep 17 00:00:00 2001 From: Graham McNeill Date: Wed, 3 Jul 2024 14:05:21 +0100 Subject: [PATCH] [Platform] Add Uniprot id to Uniprot description link (#401) --- .../sections/src/variant/UniProtVariants/Description.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/sections/src/variant/UniProtVariants/Description.tsx b/packages/sections/src/variant/UniProtVariants/Description.tsx index 1b2900326..b86b06d2e 100644 --- a/packages/sections/src/variant/UniProtVariants/Description.tsx +++ b/packages/sections/src/variant/UniProtVariants/Description.tsx @@ -7,11 +7,12 @@ type DescriptionProps = { }; function Description({ variantId, data }: DescriptionProps) { + const { targetFromSourceId } = data.variant.uniProtVariants[0]; return ( <> Literature-based curation associating {variantId}{" "} to a disease/phenotype. Source:{" "} - - UniProt + + UniProt ({targetFromSourceId}) );