NSS-Day-Cohort-42 / ktk-truncheons-and-flagons

1 stars 1 forks source link

created team provider module #9

Closed skratz17 closed 4 years ago

skratz17 commented 4 years ago
  1. Verify that TeamProvider.js exports two functions:
    • getTeams, which fetches the teams array from http://localhost:8088/teams and sets the teams array equal to its value
    • useTeams, which returns a reference to a copy of the teams array
egeehartz commented 4 years ago

👍

gavinschriver commented 4 years ago

i hope its good cause i just stole it. merge dat a$$