fix(teams.tsx): reduce network calls to /team/info

This commit is contained in:
Krrish Dholakia 2024-08-10 15:24:23 -07:00
parent 19bb95f781
commit e67a239520
2 changed files with 9 additions and 16 deletions

View file

@ -660,7 +660,7 @@ export const teamListCall = async (
}
const data = await response.json();
console.log("API Response:", data);
console.log("/team/list API Response:", data);
return data;
// Handle success - you might want to update some state or UI based on the created key
} catch (error) {