79126540

Date: 2024-10-25 16:28:34
Score: 1.5
Natty:
Report link

I got by using inertia usePage

import { usePage } from "@inertiajs/react";

const user = usePage();

now i can access the auth user {user.name}

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Edson