mirror of https://github.com/usememos/memos
chore: fix link rel field
parent
ca53630410
commit
9593b0b091
@ -1,17 +0,0 @@
|
||||
interface Props {
|
||||
url: string;
|
||||
}
|
||||
|
||||
const AutoLink: React.FC<Props> = ({ url }: Props) => {
|
||||
return (
|
||||
<a
|
||||
className="text-blue-600 dark:text-blue-400 cursor-pointer underline break-all hover:opacity-80 decoration-1"
|
||||
href={url}
|
||||
target="_blank"
|
||||
>
|
||||
{url}
|
||||
</a>
|
||||
);
|
||||
};
|
||||
|
||||
export default AutoLink;
|
Loading…
Reference in New Issue