mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-15 17:36:37 +00:00
disable 2fa and end email notifications
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import UserContext from "@app/contexts/userContext";
|
||||
import { useContext } from "react";
|
||||
|
||||
export function userUserContext() {
|
||||
export function useUserContext() {
|
||||
const context = useContext(UserContext);
|
||||
if (context === undefined) {
|
||||
throw new Error("useUserContext must be used within a UserProvider");
|
||||
|
||||
Reference in New Issue
Block a user