seem good

This commit is contained in:
2026-02-18 22:27:05 +09:00
parent 826ce4ba96
commit 3bdb2e9f5b
22 changed files with 2925 additions and 14 deletions

View File

@@ -0,0 +1,13 @@
"use client";
import { useEffect } from "react";
import { clientFetch } from "@/lib/api";
export function ViewTracker({ slug }: { slug: string }) {
useEffect(() => {
clientFetch(`/blog-posts/public/${slug}/view`, { method: "POST" }).catch(
() => {}
);
}, [slug]);
return null;
}