fix: bad target on Card

This commit is contained in:
Jalil Arfaoui 2023-01-30 23:56:31 +01:00
parent d7496bad7b
commit 988feb80e7

View file

@ -3,14 +3,14 @@ export interface Props {
title: string;
body: string;
href: string;
target: string
target: string;
}
const { href, target, title, body } = Astro.props;
---
<li class="link-card">
<a href={href} target={href}>
<a href={href} target={target}>
<h2>
{title}
<span>&rarr;</span>