mirror of
https://github.com/mudabbir-ahmad/MAD-Treasure-Hunt.git
synced 2026-10-08 03:00:20 +00:00
Add ExpandedMapScreen and integrate it into navigation; enhance CacheCardItem and GameSettingsScreen with improved UI elements
This commit is contained in:
1 parent
60cf6baad2
commit
d34bb650f4
15 files changed
+426
-126
No files matched your search
@@ -69,6 +69,11 @@ const useGameHook = () => {
|
||||
return response.isSuccess ? response.result : [];
|
||||
};
|
||||
|
||||
const removeMember = async (membershipId) => {
|
||||
const response = await API.delete(`${subgroupMembershipsEndpoint}/${membershipId}`);
|
||||
return response.isSuccess;
|
||||
};
|
||||
|
||||
const joinAsAdmin = async (payload) => {
|
||||
const response = await API.post(adminWaitlistEndpoint, payload);
|
||||
return response.isSuccess ? response.result : null;
|
||||
@@ -156,6 +161,7 @@ const useGameHook = () => {
|
||||
joinPrivateGame,
|
||||
joinAsAdmin,
|
||||
getGroupMembers,
|
||||
removeMember,
|
||||
getTeams,
|
||||
getTeam,
|
||||
createTeam,
|
||||
|
||||
Reference in new issue
Block a user