Skip to content

Commit

Permalink
fix: remove unnecessary check for missing browser url (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterckx committed Sep 3, 2024
1 parent d52ab60 commit 5fcef33
Showing 1 changed file with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,10 @@ export const buildSupercontigs = (
export const buildUcscBrowserUrl = (
genome: BRCDataCatalogGenome
): React.ComponentProps<typeof C.Link> => {
return genome.ucscBrowserUrl
? {
label: "UCSC Browser",
url: genome.ucscBrowserUrl,
}
: {
label: "Unspecified",
url: "",
};
return {
label: "UCSC Browser",
url: genome.ucscBrowserUrl,
};
};

/**
Expand Down

0 comments on commit 5fcef33

Please sign in to comment.