fix(app): missing noreferer attribute for anchor tag (#1915)

This commit is contained in:
Meier Lukas authored and GitHub committed 2025-01-14 19:31:50 +01:00
1 parent 1fd3fd8dfb
commit 986e013ca3
1 file changed
+8 -1
+8 -1
View File
@@ -98,7 +98,14 @@ interface AppLinkProps {
const AppLink = ({ href, openInNewTab, enabled, children }: PropsWithChildren<AppLinkProps>) =>
enabled ? (
<UnstyledButton component="a" href={href} target={openInNewTab ? "_blank" : undefined} h="100%" w="100%">
<UnstyledButton
component="a"
href={href}
target={openInNewTab ? "_blank" : undefined}
rel="noreferrer"
h="100%"
w="100%"
>
{children}
</UnstyledButton>
) : (