Fix link previews should open in new tab

This commit is contained in:
Bojan Mojsilovic 2023-12-28 15:22:40 +01:00
parent 9cf6bf5ffe
commit 2ca733963a

View File

@ -50,6 +50,7 @@ const LinkPreview: Component<{ preview: any, id?: string, bordered?: boolean }>
id={props.id} id={props.id}
href={props.preview.url} href={props.preview.url}
class={klass()} class={klass()}
target="_blank"
> >
<Show when={image()}> <Show when={image()}>
<img <img