UNPKG

@kinde-oss/kinde-auth-react

Version:

Kinde React SDK for authentication

12 lines (11 loc) 255 B
import { createContext as e, useContext as n } from "react"; const o = e(null), s = () => { const t = n(o); if (t === null) throw new Error("Oooops! useKindeAuth must be used within a KindeProvider"); return t; }; export { o as K, s as u };