From e092baf7735bf88e3ad6b1c2ceb2498f18c4cbe1 Mon Sep 17 00:00:00 2001 From: Graham Tackley Date: Tue, 20 Aug 2024 15:33:50 +0100 Subject: [PATCH] feat(search preview): don't show an estimated price (#1324) The price shown on this screen can be misleading as it is heavily estimated. Avoid this confusion. ## Before Screenshot 2024-08-20 at 09 04 17 ## After Screenshot 2024-08-20 at 09 04 51 As requested by @lukaslevert / @jpschmetz --- src/search/preview/SummaryPanel.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/search/preview/SummaryPanel.tsx b/src/search/preview/SummaryPanel.tsx index a7085f63d..103671198 100644 --- a/src/search/preview/SummaryPanel.tsx +++ b/src/search/preview/SummaryPanel.tsx @@ -10,7 +10,7 @@ import MonetizationOnOutlinedIcon from "@mui/icons-material/MonetizationOnOutlin import PercentIcon from "@mui/icons-material/Percent"; import ArticleIcon from "@mui/icons-material/Article"; import { SearchData } from "./data"; -import { formatUsd, formatWholeNumber } from "@/user/library/format"; +import { formatWholeNumber } from "@/user/library/format"; function SummaryEntry({ title, @@ -92,11 +92,6 @@ export function SummaryPanel({ searchData }: Props) { icon={} value={ - - {formatUsd(searchData.estimates.trialBudget, { - dollarsOnly: true, - })} -