Real-time Survey Tool Documentation
    Preparing search index...

    Function AuthProvider

    • Provides authentication context to its children components. It fetches the initial user session and listens for authentication state changes.

      Parameters

      • props: { children: ReactNode }

        The component props.

        • children: ReactNode

          The child components to be wrapped by the provider.

      Returns Element

      The AuthProvider component.