kyd-shared-badge 0.1.10 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kyd-shared-badge",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "private": false,
5
5
  "main": "./src/index.ts",
6
6
  "module": "./src/index.ts",
@@ -41,7 +41,7 @@ export default function ProviderInsights({ platforms, insights, variant = 'priva
41
41
  <div className="space-y-6">
42
42
  {platforms.map(platform => {
43
43
  const accessor = platform.name.toLowerCase();
44
- const Icon = platform.name ? providerIcons[accessor] : null;
44
+ const Icon = platform.name ? providerIcons[platform.name] : null;
45
45
  const providerInsight = insights[accessor];
46
46
  const observedDate = platform.observedAt ? new Date(platform.observedAt).toLocaleDateString(undefined, {
47
47
  year: 'numeric',