General clean-up

This commit is contained in:
2026-02-22 14:01:47 +01:00 Verified
parent 7ce44979b9
commit 7d04ceb2a3
17 changed files with 401 additions and 231 deletions
@@ -1,7 +1,7 @@
// frontend/src/components/Tournament/ScoreModal.jsx
import React, { useState } from 'react';
import { Eraser, Clock, MapPin } from 'lucide-react';
import { Eraser, Clock, MapPin, Trophy } from 'lucide-react';
import { stringToColor } from '../../utils/helpers';
import Modal from '../UI/Modal';
@@ -139,7 +139,7 @@ export default function ScoreModal({ isOpen, onClose, match, isAdmin, onSubmit,
if (!isOpen || !match) return null;
return (
<Modal isOpen={isOpen} onClose={onClose} title={`Match #${match.number}`}>
<Modal isOpen={isOpen} onClose={onClose} title={`Match #${match.number}`} icon={Trophy}>
<ScoreForm
match={match}
isAdmin={isAdmin}