@@ -167,11 +189,34 @@ function MatchStatus({ result, sides }: { result: ApiFormatResult; sides: ApiSid
{result.match_is_closed && Avgjort}
{result.match_is_dormie && !result.match_is_closed && Dormie}
- {statusText &&
{statusText}}
-
- {result.match_holes_played} hull spilt
- {result.match_holes_remaining !== null && result.match_holes_remaining > 0 && `, ${result.match_holes_remaining} igjen`}
-
+
+
+
+
+ {statusText ? (
+ <>
+
+ {statusText}
+
+
+ {holesPlayed} hull spilt{holesRemaining > 0 && `, ${holesRemaining} igjen`}
+
+ >
+ ) : (
+ Ingen hull spilt ennå
+ )}
+
+
+
+
{result.hole_results && result.hole_results.length > 0 && (