9 lines
196 B
TypeScript
9 lines
196 B
TypeScript
|
|
"use client";
|
||
|
|
|
||
|
|
import { ConsentContext } from "@shared/components/ConsentProvider";
|
||
|
|
import { useContext } from "react";
|
||
|
|
|
||
|
|
export function useCookieConsent() {
|
||
|
|
return useContext(ConsentContext);
|
||
|
|
}
|