forked from lucaspatenaude/ScoreSpot
added js and worked on Login feature(still in progress)
This commit is contained in:
@@ -9,7 +9,7 @@ const fetchTeamNames = async (selectedLeague) => {
|
||||
'X-Auth-Token': '0aa1ed31245d4a36b1ef5a79150324b3',
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
const teams = response.data.teams.map(team => team.name);
|
||||
return teams;
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user