Skip to content

Commit

Permalink
feat: Only render title in <AlertBanner /> when specified
Browse files Browse the repository at this point in the history
  • Loading branch information
morgsmccauley committed Mar 17, 2022
1 parent 0080d5a commit 77be758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/components/common/AlertBanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default function AlertBanner({ title, button, linkTo, data, theme }) {
: <AlertTriangleIcon/>
}
<div>
<SafeTranslate id={title} data={{ data: data }}/>
{title && <SafeTranslate id={title} data={{ data: data }}/>}
{linkTo ?
<>
{linkTo.includes('http') ? (
Expand Down

0 comments on commit 77be758

Please sign in to comment.