Skip to content

Commit f670623

Browse files
ericyangpanclaude
andcommitted
refactor(LinkCard): improve type safety for urls prop
Refine LinkCard urls prop type from Record<string, unknown> to Record<string, string | null> for better type safety. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2ff3897 commit f670623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/product/LinkCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ interface LinkCardGridProps {
7676
title: string
7777
description: string
7878
}>
79-
urls: Record<string, unknown>
79+
urls: Record<string, string | null>
8080
layout?: 'horizontal' | 'vertical'
8181
gridCols?: string
8282
}

0 commit comments

Comments
 (0)