mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-07 08:26:15 +00:00
Fix: Add target and rel attributes to external links for new tab opening
This commit is contained in:
parent
7cf64a4a2a
commit
afdb6902e8
1 changed files with 2 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue