Skip to content

Commit eec5feb

Browse files
Link new window (#550)
* Removing the old dashboard code * one last line to clean * commit for review and collab * people enabled * launching external links in new tab Co-authored-by: Spencer Stolworthy <[email protected]>
1 parent c089b73 commit eec5feb

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/components/link_or_span/link_or_span.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export interface LinkOrSpanProps {
66
}
77
export const LinkOrSpan = ({ href, children }: LinkOrSpanProps) => {
88
if (!!href) {
9-
return <a href={href}>{children}</a>;
9+
return <a href={href} target="_blank" rel="noreferrer">{children}</a>;
1010
} else {
1111
return <span>{children}</span>;
1212
}

src/services/weekly_report_service/weekly_report_service.ts

Whitespace-only changes.

0 commit comments

Comments
 (0)