diff --git a/browser/resources/brave_new_tab_page_refresh/components/search/search_results.tsx b/browser/resources/brave_new_tab_page_refresh/components/search/search_results.tsx index 0ef1c4685c6..fe0c946f42a 100644 --- a/browser/resources/brave_new_tab_page_refresh/components/search/search_results.tsx +++ b/browser/resources/brave_new_tab_page_refresh/components/search/search_results.tsx @@ -30,7 +30,7 @@ function MatchImage(props: { match: AutocompleteMatch }) { return } if (!imageUrl) { - return + return } if (imageUrl.startsWith('chrome:')) { return diff --git a/components/brave_new_tab_ui/components/search/SearchResult.tsx b/components/brave_new_tab_ui/components/search/SearchResult.tsx index 2c467bfbd85..e3a325929e9 100644 --- a/components/brave_new_tab_ui/components/search/SearchResult.tsx +++ b/components/brave_new_tab_ui/components/search/SearchResult.tsx @@ -110,7 +110,7 @@ function Image({ match, isAskLeo }: { match: AutocompleteMatch, isAskLeo: boolea // url machinery. const isGeneric = !match.imageUrl return isGeneric - ? + ? : match.imageUrl.startsWith('chrome') ? :