diff --git a/frontend/src/components/search/SearchBar.tsx b/frontend/src/components/search/SearchBar.tsx index 6da973957..aad6e6c45 100644 --- a/frontend/src/components/search/SearchBar.tsx +++ b/frontend/src/components/search/SearchBar.tsx @@ -3,7 +3,7 @@ import { Icon } from "@trussworks/react-uswds"; import { QueryContext } from "src/app/[locale]/search/QueryProvider"; import { useContext } from "react"; import { useSearchParamUpdater } from "src/hooks/useSearchParamUpdater"; -import { useTranslations } from "next-intl"; +import { useTranslations } from "next-intl"; interface SearchBarProps { query: string | null | undefined; @@ -27,7 +27,9 @@ export default function SearchBar({ query }: SearchBarProps) { > {t.rich("bar.label", { strong: (chunks) => {chunks}, - small: (chunks) => {chunks}, + small: (chunks) => ( + {chunks} + ), })}
{t.rich("callToAction.description", { - mail: (chunks) => {chunks} + mail: (chunks) => {chunks}, })}