From 08e0f3bbccaec368577b5d3172afd49dc2e1ac49 Mon Sep 17 00:00:00 2001 From: Albert Snow Date: Thu, 5 Dec 2024 12:37:51 -0600 Subject: [PATCH] Update CustomCellRenderers.tsx to use DicomLink --- .../src/lib/CohortBuilder/CustomCellRenderers.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/sampleCommons/src/lib/CohortBuilder/CustomCellRenderers.tsx b/packages/sampleCommons/src/lib/CohortBuilder/CustomCellRenderers.tsx index bedf2289..83d5f68d 100644 --- a/packages/sampleCommons/src/lib/CohortBuilder/CustomCellRenderers.tsx +++ b/packages/sampleCommons/src/lib/CohortBuilder/CustomCellRenderers.tsx @@ -7,7 +7,7 @@ import React from 'react'; import { FaExternalLinkAlt } from 'react-icons/fa'; import { labelEnd } from 'micromark-core-commonmark'; -const RenderDiacomLink = ({ cell }: CellRendererFunctionProps) => { +const RenderDicomLink = ({ cell }: CellRendererFunctionProps) => { if (!cell?.getValue() || cell?.getValue() === '') { return ; } else @@ -44,8 +44,8 @@ const JoinFields = ( export const registerCohortTableCustomCellRenderers = () => { ExplorerTableCellRendererFactory().registerRenderer( 'link', - 'DiacomLink', - RenderDiacomLink, + 'DicomLink', + RenderDicomLink, ); ExplorerTableCellRendererFactory().registerRenderer( 'string',