This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
|
import useSWR from "swr";
|
|
|
|
const fetcher = (url) => fetch(url).then((response) => response.json());
|
|
|
|
export default function useAuthenticatedStatus() {
|
|
return useSWR("/__internal/do/not/use/authenticated", fetcher);
|
|
}
|