UNPKG

@kinde-oss/kinde-auth-react

Version:

Kinde React SDK for authentication

19 lines (18 loc) 317 B
import { createContext as e, useContext as n } from "react"; const o = { isLoading: !0, isAuthenticated: !1 }, i = { ...o }, s = e( i ), u = () => { const t = n(s); if (t === void 0) throw new Error("Oooops! useKindeAuth must be used within a KindeProvider"); return t; }; export { s as K, u };