Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | import { Head } from '@inertiajs/react'; import AuthenticatedLayout from '@/Components/Layout/AuthenticatedLayout'; import type { PageProps } from '@/types'; interface UsersDebugProps extends PageProps { users?: any; roles?: any; filters?: any; } export default function UsersDebug({ users, roles, filters }: UsersDebugProps) { return ( <AuthenticatedLayout title="Users Debug"> <Head title="Users Debug" /> <div className="p-4"> <h1 className="text-2xl font-bold mb-4">Users Debug Page</h1> <div className="space-y-4"> <div className="bg-gray-100 p-4 rounded"> <h2 className="font-bold">Users Data:</h2> <pre>{JSON.stringify(users, null, 2)}</pre> </div> <div className="bg-gray-100 p-4 rounded"> <h2 className="font-bold">Roles Data:</h2> <pre>{JSON.stringify(roles, null, 2)}</pre> </div> <div className="bg-gray-100 p-4 rounded"> <h2 className="font-bold">Filters Data:</h2> <pre>{JSON.stringify(filters, null, 2)}</pre> </div> </div> </div> </AuthenticatedLayout> ); } |