updated react rest endpoints to new name
This commit is contained in:
		
							parent
							
								
									65c93d3018
								
							
						
					
					
						commit
						7d90cb64ae
					
				
							
								
								
									
										3373
									
								
								RaceTimer/racetimer_react/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										3373
									
								
								RaceTimer/racetimer_react/package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @ -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": { | ||||
|  | ||||
| @ -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> | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user