Restore normalizedEmail variable used in JSX

cgen-daece958d24546188b69408b349e6d7b
This commit is contained in:
Builder.io 2025-11-08 14:19:22 +00:00
parent 2e4ea28bcf
commit c3a7086906

View file

@ -59,6 +59,7 @@ import {
export default function Admin() {
const { user, loading } = useAuth();
const navigate = useNavigate();
const normalizedEmail = user?.email?.toLowerCase() ?? "";
// Redirect to login if not authenticated
useEffect(() => {