diff --git a/src/components/App/SideBar/Trending/BriefDescriptionModal/index.tsx b/src/components/App/SideBar/Trending/BriefDescriptionModal/index.tsx index e2ff392d6..a18fab5c8 100644 --- a/src/components/App/SideBar/Trending/BriefDescriptionModal/index.tsx +++ b/src/components/App/SideBar/Trending/BriefDescriptionModal/index.tsx @@ -34,7 +34,7 @@ export const BriefDescription: FC = ({ trend, onClose }) => { const handleLearnMore = async () => { handleClose() - await fetchData(setBudget, setAbortRequests, trend.name) + await fetchData(setBudget, setAbortRequests, trend.tldr_topic ?? trend.name) } const handleClose = useCallback(() => { diff --git a/src/components/App/SideBar/Trending/index.tsx b/src/components/App/SideBar/Trending/index.tsx index d34d90f23..0b32bda89 100644 --- a/src/components/App/SideBar/Trending/index.tsx +++ b/src/components/App/SideBar/Trending/index.tsx @@ -205,7 +205,7 @@ export const Trending = () => { className="list-item" direction="row" justify="space-between" - onClick={() => selectTrending(i.name)} + onClick={() => selectTrending(i.tldr_topic ?? i.name)} >