first
This commit is contained in:
commit
8538ab969a
434 changed files with 44051 additions and 0 deletions
8
apps/web/modules/shared/hooks/cookie-consent.ts
Normal file
8
apps/web/modules/shared/hooks/cookie-consent.ts
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
"use client";
|
||||
|
||||
import { ConsentContext } from "@shared/components/ConsentProvider";
|
||||
import { useContext } from "react";
|
||||
|
||||
export function useCookieConsent() {
|
||||
return useContext(ConsentContext);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue