()
| 1 | import { signIn } from "next-auth/react" |
| 2 | |
| 3 | export default function AccessDenied() { |
| 4 | return ( |
| 5 | <> |
| 6 | <h1>Access Denied</h1> |
| 7 | <p> |
| 8 | <a |
| 9 | href="/api/auth/signin" |
| 10 | onClick={(e) => { |
| 11 | e.preventDefault() |
| 12 | signIn() |
| 13 | }} |
| 14 | > |
| 15 | You must be signed in to view this page |
| 16 | </a> |
| 17 | </p> |
| 18 | </> |
| 19 | ) |
| 20 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…