Fix build

This commit is contained in:
2024-09-10 14:11:52 -04:00
parent 12a697decd
commit 601f89352d
2 changed files with 4 additions and 4 deletions

View File

@ -332,8 +332,8 @@ function generateNoun(): string {
import { Buffer } from 'buffer';
export function encodeThemeForUrl(scheme: ColorScheme): string {
const encodedColors = Object.entries(scheme.colors).flatMap(([group, colors]) =>
Object.entries(colors).map(([name, color]) => color.slice(1))
const encodedColors = Object.entries(scheme.colors).flatMap(([, colors]) =>
Object.entries(colors).map(([, color]) => color.slice(1))
).join('');
const data = JSON.stringify({