mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-06 02:47:56 +00:00
fix(blog): use direct imports in client component to avoid Node.js fs module
This commit is contained in:
parent
2528775815
commit
26a47e1cdb
1 changed files with 7 additions and 2 deletions
|
|
@ -1,8 +1,13 @@
|
|||
"use client"
|
||||
|
||||
import { useEffect, useRef } from "react"
|
||||
import type { BlogPost } from "@/lib/blog"
|
||||
import { trackBlogIndexView, trackBlogPostView, trackBlogPostScrollDepth, trackBlogPostTimeSpent } from "@/lib/blog"
|
||||
import type { BlogPost } from "@/lib/blog/types"
|
||||
import {
|
||||
trackBlogIndexView,
|
||||
trackBlogPostView,
|
||||
trackBlogPostScrollDepth,
|
||||
trackBlogPostTimeSpent,
|
||||
} from "@/lib/blog/analytics"
|
||||
|
||||
interface BlogIndexAnalyticsProps {
|
||||
postCount: number
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue