🐞 fix: Correct syntax error in edit link in PromptCard component

This commit is contained in:
Keith Solomon
2025-07-25 16:52:24 -05:00
parent 334df0688e
commit ba333343c6

View File

@@ -47,7 +47,7 @@ const formatDate = (dateStr: string | undefined) => {
<div class="flex justify-between items-center">
<h3 class="text-xl font-semibold px-2">Prompt</h3>
<a class="bg-green-600 text-white px-2 py-0 rounded text-sm hover:bg-green-700 transition-colors duration-300" href={`/edit?slug=${slug}`}>Edit</a>
<a class="bg-green-600 text-white px-2 py-0 rounded text-sm hover:bg-green-700 transition-colors duration-300" href={`/edit?slug=${slug}`}->Edit</a>
</div>
<p class="my-2 px-2 text-balance" set:html={description.replace(/\n/g, '<br />')} />