mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-27 00:40:58 +01:00
fix(app): missing noreferer attribute for anchor tag (#1915)
This commit is contained in:
@@ -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>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user