Skip to content

Commit 8bfa8b0

Browse files
style: run prettier on streak route
1 parent d24f2ff commit 8bfa8b0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/api/streak/route.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,8 @@ function buildErrorResponse(error: unknown, parseResult: ParseResult): NextRespo
261261
(parseResult.success &&
262262
(Array.isArray(parseResult.data.accent)
263263
? parseResult.data.accent[parseResult.data.accent.length - 1]
264-
: parseResult.data.accent)) || undefined;
264+
: parseResult.data.accent)) ||
265+
undefined;
265266
const errAccent = `#${sanitizeHexColor(errAccentRaw, '58a6ff')}`;
266267
const errText = `#${sanitizeHexColor(parseResult.success ? parseResult.data.text : undefined, 'c9d1d9')}`;
267268
const errRadius = parseResult.success

0 commit comments

Comments
 (0)