diff --git a/app/playground/page.tsx b/app/playground/page.tsx index 458dcb3..75889b4 100644 --- a/app/playground/page.tsx +++ b/app/playground/page.tsx @@ -137,12 +137,19 @@ function PlaygroundContent() {
{recentColors.map((entry) => ( -
- + ))} diff --git a/components/color/ColorInfo.tsx b/components/color/ColorInfo.tsx index 08ea95a..e9b8bdc 100644 --- a/components/color/ColorInfo.tsx +++ b/components/color/ColorInfo.tsx @@ -80,7 +80,7 @@ export function ColorInfo({ info, className }: ColorInfoProps) {
Type
{info.is_light ? 'Light' : 'Dark'}
- {info.name && ( + {info.name && typeof info.name === 'string' && (
Named
{info.name}