🐞 fix: Add notes for prompts, cleanup
This commit is contained in:
@@ -6,7 +6,8 @@ const {
|
||||
description,
|
||||
tags = [],
|
||||
created_at,
|
||||
updated_at
|
||||
updated_at,
|
||||
notes,
|
||||
} = Astro.props;
|
||||
|
||||
const formatDate = (dateStr: string | undefined) => {
|
||||
@@ -44,7 +45,7 @@ const formatDate = (dateStr: string | undefined) => {
|
||||
<summary class="cursor-pointer font-semibold mt-2">View Details</summary>
|
||||
<div class="text-sm text-gray-800 border-t mt-2 pt-2">
|
||||
<p><strong>Created:</strong> {formatDate(created_at)} • <strong>Updated:</strong> {formatDate(updated_at)}</p>
|
||||
<p class="mt-2">📝 Misc data, unused currently</p>
|
||||
<p class="mt-2">📝 {notes}</p>
|
||||
</div>
|
||||
</details>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user