aboutsummaryrefslogtreecommitdiff
path: root/apps/web/app
diff options
context:
space:
mode:
authorCodeTorso <[email protected]>2024-07-28 05:32:08 +0530
committerGitHub <[email protected]>2024-07-28 05:32:08 +0530
commitbb4eed6525a4571f2551d65207d508197e1eb8e1 (patch)
tree45769512cefd24a9dca1d580abfac254682fe35c /apps/web/app
parentMerge pull request #182 from CodeTorso/backend (diff)
parentFix: Add target and rel attributes to external links for new tab opening (diff)
downloadsupermemory-bb4eed6525a4571f2551d65207d508197e1eb8e1.tar.xz
supermemory-bb4eed6525a4571f2551d65207d508197e1eb8e1.zip
Merge pull request #180 from dishit7/fix/openlink_in_newtab
Merge pull request #180 from dishit7/fix/openlink_in_newtab
Diffstat (limited to 'apps/web/app')
-rw-r--r--apps/web/app/(dash)/chat/chatWindow.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/web/app/(dash)/chat/chatWindow.tsx b/apps/web/app/(dash)/chat/chatWindow.tsx
index ed65bf7a..3d7ca295 100644
--- a/apps/web/app/(dash)/chat/chatWindow.tsx
+++ b/apps/web/app/(dash)/chat/chatWindow.tsx
@@ -366,6 +366,8 @@ function ChatWindow({
href={source.source}
key={idx}
className="w-[350px] shrink-0 p-4 gap-2 rounded-2xl flex flex-col bg-secondary"
+ target="_blank"
+ rel="noopener noreferrer"
>
<div className="flex justify-between text-foreground-menu text-sm">
<span>{source.type}</span>