REFACTOR: Rename user_id to userId for consistency across components;

This commit is contained in:
Chris-1010
2025-02-18 02:48:24 +00:00
parent ef1921c207
commit 4673052e09
3 changed files with 8 additions and 8 deletions

View File

@@ -3,7 +3,7 @@ import { createContext, useContext } from "react";
interface AuthContextType {
isLoggedIn: boolean;
username: string | null;
user_id: number | null;
userId: number | null;
setIsLoggedIn: (value: boolean) => void;
setUsername: (value: string | null) => void;
setUserId: (value: number | null) => void;