better-auth/apps/web/modules/shared/hooks/cookie-consent.ts

9 lines
196 B
TypeScript
Raw Permalink Normal View History

2025-10-29 13:43:43 +05:00
"use client";
import { ConsentContext } from "@shared/components/ConsentProvider";
import { useContext } from "react";
export function useCookieConsent() {
return useContext(ConsentContext);
}