disable 2fa and end email notifications

This commit is contained in:
Milo Schwartz
2024-12-24 15:36:55 -05:00
parent ccc2e3358c
commit cf75be5a6c
14 changed files with 555 additions and 173 deletions

View File

@@ -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");