initial commit
This commit is contained in:
7
components/topics/TopicClientComponents.tsx
Normal file
7
components/topics/TopicClientComponents.tsx
Normal file
@@ -0,0 +1,7 @@
|
||||
'use client'
|
||||
import { ViewTracker } from './ViewTracker'
|
||||
|
||||
// ViewTracker component - only handles view tracking
|
||||
export function TopicViewTracker({ topicSlug, isDraft }: { topicSlug: string; isDraft: boolean }) {
|
||||
return <ViewTracker topicSlug={topicSlug} enabled={!isDraft} />
|
||||
}
|
||||
Reference in New Issue
Block a user