Skip to content

Commit

Permalink
Update BetaAlert.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
acouch committed Nov 21, 2024
1 parent d054efa commit c638cf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/BetaAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import FullWidthAlert from "./FullWidthAlert";

const BetaAlert = () => {
const t = useTranslations("Beta_alert");
const heading = t.rich("alert_title", {
const alert = t.rich("alert", {
LinkToGrants: (content) => <a href="https://www.grants.gov">{content}</a>,
});

Expand All @@ -13,8 +13,8 @@ const BetaAlert = () => {
data-testid="beta-alert"
className="desktop:position-sticky top-0 z-200"
>
<FullWidthAlert type="info" heading={heading}>
{t("alert")}
<FullWidthAlert type="info" heading={t("alert_title")}>
{alert}
</FullWidthAlert>
</div>
);
Expand Down

0 comments on commit c638cf1

Please sign in to comment.