7 lines
279 B
TypeScript
7 lines
279 B
TypeScript
'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} />
|
|
} |