From 72995bd216b8853514113297ed7b2a18dabcdfae Mon Sep 17 00:00:00 2001 From: AML - A Laycock Date: Wed, 28 Aug 2024 15:55:52 +0100 Subject: [PATCH] fix(lint): apply noreferrer to the external links --- app/lib/fields/link.tsx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/app/lib/fields/link.tsx b/app/lib/fields/link.tsx index 95df5fd..c42e29b 100644 --- a/app/lib/fields/link.tsx +++ b/app/lib/fields/link.tsx @@ -38,7 +38,12 @@ const viewComponent = ({value, title}: {value: string; title: string}) => { return (
{title}
- + {linkTitle} 📤
@@ -51,7 +56,12 @@ const listComponent = ({value}: {value: string; title: string}) => { const {title: linkTitle, target} = JSON.parse(value) return ( - + {linkTitle} 📤 )