feat: enhance SkillTreeModal with skill allocation logic and custom scrollbar styles

This commit is contained in:
2025-02-08 20:52:44 -03:00
parent 243c50a1a0
commit 78c0f52c39
6 changed files with 205 additions and 14 deletions

View File

@@ -38,7 +38,7 @@ export async function getAllSkills(): Promise<Skill[]> {
}
export async function getPetSkills(petId: string): Promise<PetSkill[]> {
const response = await api.get<PetSkill[]>(`/api/v1/skill/${petId}/pet`);
const response = await api.get<PetSkill[]>(`/api/v1/skill/${petId}/skills`);
return response.data;
}