Prompt added successfully!
diff --git a/src/pages/edit.astro b/src/pages/edit.astro
index af23999..2c45d48 100644
--- a/src/pages/edit.astro
+++ b/src/pages/edit.astro
@@ -19,10 +19,10 @@ const supabaseKey = import.meta.env.PUBLIC_SUPABASE_ANON_KEY;
Edit an existing AI prompt in the catalog
-
+
-
+
Loading...
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 4f7813c..a5604eb 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -13,7 +13,7 @@ const allTags = Array.from(
new Set(
prompts?.flatMap((p) => p.tags ?? [])
)
-).sort();
+).sort((a, b) => a.toLowerCase().localeCompare(b.toLowerCase()));
---
@@ -22,11 +22,11 @@ const allTags = Array.from(
Save and explore AI prompts
-
+
-
-
+
+
{error
?
Supabase error: {error.message}
:
}