get logged in user id

This commit is contained in:
CodeServer
2022-03-22 23:16:27 +00:00
parent 226d403733
commit 1c85863245
4 changed files with 43 additions and 22 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { useContext } from "react";
import AuthContext from "../context/AuthProvider";
interface loginInfo {
username: string;
email: string;
isLoggedIn: boolean;
}