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

File diff suppressed because it is too large Load Diff

View File

@ -3,10 +3,13 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"bootstrap": "^4.3.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-router-dom": "^5.0.1",
"bootstrap": "^4.6.0",
"react": "^16.14.0",
"react-bootstrap": "^1.4.3",
"react-dom": "^16.14.0",
"react-loader-spinner": "^3.1.14",
"react-promise-tracker": "^2.1.0",
"react-router-dom": "^5.2.0",
"react-scripts": "3.0.1"
},
"scripts": {

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 />

View File

@ -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>