Skip to content

Commit 30527be

Browse files
committed
Obsidian Style!
1 parent 2f78428 commit 30527be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/UpdateModal.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function parseUpdate(update: string) {
8585
return (
8686
<li class="flex items-start gap-2">
8787
{type && (
88-
<span class={`inline-flex items-center px-2 py-0.5 text-xs font-medium rounded ${badgeStyles[type] || 'bg-gray-100 text-gray-800 dark:bg-gray-900 dark:text-gray-300'}`}>
88+
<span class={`inline-flex items-center px-2 py-0.5 text-xs font-medium rounded ${badgeStyles[type as keyof typeof badgeStyles] || 'bg-gray-100 text-gray-800 dark:bg-gray-900 dark:text-gray-300'}`}>
8989
{type}
9090
</span>
9191
)}

0 commit comments

Comments
 (0)