Skip to content

Commit

Permalink
style: rename buildOrganismTaxon to buildOrganismSpecies for cons…
Browse files Browse the repository at this point in the history
…istency (#210)
  • Loading branch information
hunterckx committed Jan 16, 2025
1 parent 64c1de4 commit 334731c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,11 @@ export const buildOrganismAssemblyTaxonomyIds = (
};

/**
* Build props for the taxon cell.
* Build props for the species cell.
* @param organism - Organism entity.
* @returns Props to be used for the cell.
*/
export const buildOrganismTaxon = (
export const buildOrganismSpecies = (
organism: BRCDataCatalogOrganism
): ComponentProps<typeof C.Link> => {
return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const organismEntityConfig: BRCEntityConfig<BRCDataCatalogOrganism> = {
{
componentConfig: {
component: C.Link,
viewBuilder: V.buildOrganismTaxon,
viewBuilder: V.buildOrganismSpecies,
} as ComponentConfig<typeof C.Link, BRCDataCatalogOrganism>,
header: BRC_DATA_CATALOG_CATEGORY_LABEL.SPECIES,
id: BRC_DATA_CATALOG_CATEGORY_KEY.SPECIES,
Expand Down

0 comments on commit 334731c

Please sign in to comment.