chore(format): Prettier auf heute/projekt/lead.tsx anwenden

Diese drei Dateien waren nicht prettier-konform (nie formatiert). Isolierter
Format-Lauf, damit der folgende Logik-Commit nur die echten Aenderungen zeigt.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Raffael SheikhandClaude Opus 4.8 committed 2026-06-07 11:28:19 +02:00
1 parent 00b611fa3b
commit 33a740ca7e
3 files changed
+580 -129

No files matched your search

+11 -5
View File
@@ -219,9 +219,7 @@ function TodoRow({
<span className={dotClass} />
<span
className={
todo.status === 'dropped'
? 'flex-1 line-through text-[var(--color-ink-muted)]'
: 'flex-1'
todo.status === 'dropped' ? 'flex-1 line-through text-[var(--color-ink-muted)]' : 'flex-1'
}
>
{todo.title}
@@ -358,7 +356,10 @@ function CheckInOutBar({
const duration =
checkedInAt && checkedOutAt
? formatDurationCompact(
Math.max(0, Math.round((new Date(checkedOutAt).getTime() - new Date(checkedInAt).getTime()) / 1000)),
Math.max(
0,
Math.round((new Date(checkedOutAt).getTime() - new Date(checkedInAt).getTime()) / 1000),
),
)
: null;
@@ -542,7 +543,12 @@ function EinstempeltView({
todos,
entry,
}: {
todos: Array<{ id: string; title: string; status: 'open' | 'done' | 'dropped'; unplanned?: boolean }>;
todos: Array<{
id: string;
title: string;
status: 'open' | 'done' | 'dropped';
unplanned?: boolean;
}>;
entry: {
status: 'begun' | 'full' | 'absent';
checkedInAt: string | Date | null;