Skip to content

Commit

Permalink
set target="_blank" and rel="noreferrer" on method of redress links
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-funk committed Nov 20, 2023
1 parent af3b376 commit 4f1e9f6
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ const NotificationsPaginator: FunctionComponent<Props> = (props) => {
a: (
<a
href={`mailto: ${props.query.settings.dsa.methodOfRedress.email}`}
target="_blank"
rel="noreferrer"
>
{props.query.settings.dsa.methodOfRedress.email}
</a>
Expand All @@ -103,7 +105,11 @@ const NotificationsPaginator: FunctionComponent<Props> = (props) => {
}}
elems={{
a: (
<a href={`${props.query.settings.dsa.methodOfRedress.url}`}>
<a
href={`${props.query.settings.dsa.methodOfRedress.url}`}
target="_blank"
rel="noreferrer"
>
{props.query.settings.dsa.methodOfRedress.url}
</a>
),
Expand Down

0 comments on commit 4f1e9f6

Please sign in to comment.