(url: string)
| 26 | } |
| 27 | |
| 28 | function doLogout(url: string) { |
| 29 | return fetchJson<SessionData>(url, { |
| 30 | method: 'DELETE', |
| 31 | }) |
| 32 | } |
| 33 | |
| 34 | export default function useSession() { |
| 35 | const { data: session, isLoading } = useSWR( |
nothing calls this directly
no test coverage detected