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>) =>
|
const AppLink = ({ href, openInNewTab, enabled, children }: PropsWithChildren<AppLinkProps>) =>
|
||||||
enabled ? (
|
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}
|
{children}
|
||||||
</UnstyledButton>
|
</UnstyledButton>
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
Reference in New Issue
Block a user