Skip to content

Commit

Permalink
Removed unnecessary keys
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjeevLakhwani committed Jan 30, 2025
1 parent dbe1f30 commit 04b853c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/js/components/Search/IndividualsAccordianPane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ const IndividualsAccordianPane = ({ id }: { id: string }) => {

const items: DescriptionsProps['items'] = [
{
key: 1,
label: 'Date of Birth',
children: individualData?.date_of_birth || EM_DASH,
span: 2,
},
{
key: 2,
label: 'Sex',
children: individualData?.sex,
},
Expand All @@ -30,17 +28,14 @@ const IndividualsAccordianPane = ({ id }: { id: string }) => {
children: individualData?.time_at_last_encounter?.age.iso8601duration, // TODO: handle other time elements if there are any
},
{
key: 4,
label: 'Karyotypic Sex',
children: individualData?.karyotypic_sex || 'UNKNOWN_KARYOTYPE',
},
{
key: 5,
label: 'Taxonomy',
children: individualData?.taxonomy?.label || 'UNKNOWN_TAXONOMY',
},
{
key: 6,
span: 3,
label: 'Extra Properties',
children: JSON.stringify(individualData?.extra_properties, null, 2),
Expand Down

0 comments on commit 04b853c

Please sign in to comment.