Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.renchi.ai/llms.txt

Use this file to discover all available pages before exploring further.

Wraps the dashboard to show consent dialog on first login. Shows the data consent dialog when the user hasn’t acknowledged it yet (dataConsentAcknowledgedAt is null). The dialog cannot be dismissed without clicking “Got it”.

Props

children
React.ReactNode
required
children
needsConsent

Usage

import { DataConsentProvider } from '@/components/DataConsentProvider';

export default function Example() {
  return (
    <DataConsentProvider children={children} needsConsent={needsConsent} />
  );
}