From 98e5f7262f39a788403d964e89c0d16d2d624096 Mon Sep 17 00:00:00 2001 From: Stav Eyal Date: Tue, 5 Mar 2019 08:46:28 +0200 Subject: [PATCH] Added tech fouls and comment support in matches --- src/components/Record.jsx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/components/Record.jsx b/src/components/Record.jsx index cea5b95..a100835 100644 --- a/src/components/Record.jsx +++ b/src/components/Record.jsx @@ -6,7 +6,8 @@ import { GiJoystick as Controller, GiSailboat as Sailboat, GiPlainCircle as Cargo, - GiCompactDisc as Panel + GiCompactDisc as Panel, + GiStairsGoal as Stairs } from 'react-icons/gi' import { IoIosRocket as Rocket } from 'react-icons/io' @@ -92,6 +93,18 @@ class Record extends React.Component {

Panels:

+ +

Climb: {match.climb}

+ +

+ Tech fouls: {match.techFouls ? 'true' : 'false'}

+ + { + match.comment === '' + ? + :

Comments: {match.comment}

+ } + ) }