mirror of
https://github.com/mudabbir-ahmad/MAD-Treasure-Hunt.git
synced 2026-10-08 03:00:20 +00:00
Add comments for code structure clarity; enhance readability across multiple components
This commit is contained in:
1 parent
d67522a71d
commit
9b9f13eb6a
29 files changed
+1020
-846
No files matched your search
@@ -1,3 +1,5 @@
|
||||
// --- Session Store ---
|
||||
|
||||
const session = {
|
||||
currentUid: null,
|
||||
currentGid: null,
|
||||
@@ -7,6 +9,8 @@ const session = {
|
||||
isAcceptedAdmin: false,
|
||||
};
|
||||
|
||||
// --- Handlers ---
|
||||
|
||||
const setSessionUser = (user) => {
|
||||
session.currentUid = user?.Uid ?? null;
|
||||
session.currentGid = user?.Gid ?? null;
|
||||
|
||||
Reference in new issue
Block a user