Revert "Pass referrer on native (with an opt out) (#6648)" (#6732)

This reverts commit ac5b2cf31f.
This commit is contained in:
dan
2024-11-25 20:30:33 +00:00
committed by GitHub
parent b0c36383a9
commit c6c6c91d7b
9 changed files with 16 additions and 125 deletions
+2 -2
View File
@@ -223,7 +223,7 @@ export function Link({
{...web({
hrefAttrs: {
target: download ? undefined : isExternal ? 'blank' : undefined,
rel: isExternal ? 'noopener' : undefined,
rel: isExternal ? 'noopener noreferrer' : undefined,
download,
},
dataSet: {
@@ -307,7 +307,7 @@ export function InlineLinkText({
{...web({
hrefAttrs: {
target: download ? undefined : isExternal ? 'blank' : undefined,
rel: isExternal ? 'noopener' : undefined,
rel: isExternal ? 'noopener noreferrer' : undefined,
download,
},
dataSet: {