From 71162e5b507efd62035c934737b7cecdca08a904 Mon Sep 17 00:00:00 2001 From: Ryderjj89 Date: Wed, 1 Oct 2025 18:59:17 -0400 Subject: [PATCH] fix: Resolve build error and duplicate generateSlug function in admin page --- pages/admin.vue | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/pages/admin.vue b/pages/admin.vue index b1b0e9b..dc3323b 100644 --- a/pages/admin.vue +++ b/pages/admin.vue @@ -34,8 +34,6 @@
-

Basic Information

-
{ - if (!title || !date) return '' - - const formattedTitle = title - .toLowerCase() - .replace(/[^a-z0-9\s-]/g, '') - .replace(/\s+/g, '-') - .replace(/-+/g, '-') - .trim() - - const dateObj = new Date(date) - const month = String(dateObj.getMonth() + 1).padStart(2, '0') - const day = String(dateObj.getDate()).padStart(2, '0') - const year = dateObj.getFullYear() - - return `sermon-${month}${day}${year}` -} - const addBibleReference = () => { form.bibleReferences.push('') }