fix: ancher target attr

This commit is contained in:
Steven 2022-10-31 22:36:26 +08:00
parent 497161dade
commit 6e2fffd866

View File

@ -67,7 +67,7 @@ const ShortcutListView: React.FC<Props> = (props: Props) => {
> >
<Icon.Copy className="w-5 h-auto" /> <Icon.Copy className="w-5 h-auto" />
</button> </button>
<a className="cursor-pointer mr-4 hover:opacity-80" target="blank" href={shortcut.link}> <a className="cursor-pointer mr-4 hover:opacity-80" target="_blank" href={shortcut.link} rel="noreferrer">
<Icon.ExternalLink className="w-5 h-auto" /> <Icon.ExternalLink className="w-5 h-auto" />
</a> </a>
<Dropdown <Dropdown