import { useNavigate, useRouter } from '@tanstack/react-router' import { Button } from '@/components/ui/button' export default function UnauthorisedError() { const navigate = useNavigate() const { history } = useRouter() return (

401

Unauthorized Access

Please log in with the appropriate credentials
to access this resource.

) }