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

1 stars 1 forks source link

AR-playerProvider #11

Closed aring97 closed 4 years ago

aring97 commented 4 years ago

git fetch --all git checkout AR-playerProvider see that playerProvider has similar code to the other providers

gavinschriver commented 4 years ago

dunno if it matters but .then(parseplayes=>{ players=parseplayes }) }

got some typos goin on w parseplayes ..?

skratz17 commented 4 years ago

Also, the name of the array at the top of the module is player but the usePlayers function is returning players which doesn't exist. The array name should be changed to players

skratz17 commented 4 years ago

There is one more issue - you are fetching port 8080 in your URL, you should be fetching port 8088.