Skip to content

Commit

Permalink
🐛 fix prominent link description overrides for grapher links
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesau committed Dec 8, 2023
1 parent 3804710 commit 1876a8c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions site/gdocs/ProminentLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ export const ProminentLink = (props: {
description =
// Adding extra context for graphers by default
// Not needed for Explorers as their titles are self-explanatory
description ?? linkType === "grapher"
description ??
(linkType === "grapher"
? "See the data in our interactive visualization"
: ""
: "")
}

const Thumbnail = ({ thumbnail }: { thumbnail: string }) => {
Expand Down

0 comments on commit 1876a8c

Please sign in to comment.