fix: homepage links

This commit is contained in:
TrèsAbhi committed 2024-08-20 11:17:03 -05:00
1 parent 5b3723322e
commit e6a1a98fd3
1 file changed
+2 -1
+2 -1
View File
@@ -44,7 +44,8 @@ export function ToolCard({ tool, style, ...props }: ToolCardProps) {
{...props}
>
<Link
href={`/tools/${tool.id}`}
href={tool.href ?? `/tools/${tool.id}`}
target={tool.href ? '_blank' : undefined}
style={{
display: 'flex',
width: '100%',