"use client"; import { useMiniApp } from "@neynar/react"; /** * ContextTab component displays the current mini app context in JSON format. * * This component provides a developer-friendly view of the Farcaster mini app context, * including user information, client details, and other contextual data. It's useful * for debugging and understanding what data is available to the mini app. * * The context includes: * - User information (FID, username, display name, profile picture) * - Client information (safe area insets, platform details) * - Mini app configuration and state * * @example * ```tsx * * ``` */ export function ContextTab() { const { context } = useMiniApp(); return (

Context

          {JSON.stringify(context, null, 2)}
        
); }