Skip to content

Commit 870aaf3

Browse files
committed
tasks first
1 parent 6850814 commit 870aaf3

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

packages/ai/src/TaskDetail.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,6 @@ export function TaskDetail({
9797
</span>
9898
</div>
9999

100-
{/* Description */}
101-
<div>
102-
{task.description ? (
103-
<Markdown content={task.description} className="prose-sm prose-p:my-1 prose-headings:text-sm prose-headings:mt-3 prose-headings:mb-1 prose-ul:my-1 prose-ol:my-1 prose-li:my-0" />
104-
) : (
105-
<p className="text-sm italic text-ink-faint">No description</p>
106-
)}
107-
</div>
108-
109100
{/* Subtasks */}
110101
{task.subtasks.length > 0 && (
111102
<div className="flex flex-col gap-1">
@@ -156,6 +147,15 @@ export function TaskDetail({
156147
</div>
157148
)}
158149

150+
{/* Description */}
151+
<div>
152+
{task.description ? (
153+
<Markdown content={task.description} className="prose-sm prose-p:my-1 prose-headings:text-sm prose-headings:mt-3 prose-headings:mb-1 prose-ul:my-1 prose-ol:my-1 prose-li:my-0" />
154+
) : (
155+
<p className="text-sm italic text-ink-faint">No description</p>
156+
)}
157+
</div>
158+
159159
{/* Timestamps */}
160160
<div className="flex flex-col gap-1 text-xs text-ink-faint">
161161
<span>Created {formatDate(task.created_at)}</span>

0 commit comments

Comments
 (0)