refactor(tags): centralize tag slug logic in client-safe util
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { notFound } from 'next/navigation'
|
||||
import Link from 'next/link'
|
||||
import { getPosts, getPost, tagToSlug } from '@/lib/posts'
|
||||
import { getPosts, getPost } from '@/lib/posts'
|
||||
import { tagToSlug } from '@/lib/tags'
|
||||
import { TableOfContents } from '@/components/posts/TableOfContents'
|
||||
import { ScrollToTop } from '@/components/ui/ScrollToTop'
|
||||
import { ReadingProgress } from '@/components/ui/ReadingProgress'
|
||||
|
||||
Reference in New Issue
Block a user