consent.ts 228 B

1234567891011
  1. import {defineStore } from 'pinia'
  2. export const useConsent = defineStore('consent-store', {
  3. state: () => ({
  4. 'preferenceGiven': false,
  5. 'analytics': false,
  6. 'ads': false,
  7. }),
  8. persist: true,
  9. })