updated react rest endpoints to new name

This commit is contained in:
Christian
2021-02-26 20:12:54 +01:00
parent 65c93d3018
commit 7d90cb64ae
4 changed files with 2174 additions and 1214 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ class Maps extends React.Component {
</NavLink>
<strong> Position: {e.position}</strong><br />
<strong> Mappoints: {e.mapPoint}</strong><br />
<strong> Time: 0{e.mapTimeMinutes}:{e.mapTimeSeconds}</strong><br />
<strong> Time: 0{e.mapTime}</strong><br />
{Object.keys(e.badgesUrls).map(badges => (
<div key={e.badgesUrls[badges]}>
<img src={e.badgesUrls[badges]} alt="" /> <br />
@@ -128,7 +128,7 @@ class Player extends React.Component {
<strong> Map: {e.mapname}</strong><br />
<strong> Stage: {e.mapstage}</strong><br />
<strong> Position: {e.position}</strong><br />
<strong> Time: 0{e.mapTimeMinutes}:{e.mapTimeSeconds}</strong><br />
<strong> Time: 0{e.mapTime}</strong><br />
<strong> MapPoints: {e.mapPoint}</strong><br />
</NavLink>
</div>