"use client";

import { useQuery } from "convex/react";
import { api } from "../../../../../convex/_generated/api";

export function useWishlistCount(): number {
  const count = useQuery(api.wishlists.count, {});
  return count ?? 0;
}
