diff --git a/frontend/src/components/recordings/RecordingTab.jsx b/frontend/src/components/recordings/RecordingTab.jsx index cca7232..2cfe87f 100644 --- a/frontend/src/components/recordings/RecordingTab.jsx +++ b/frontend/src/components/recordings/RecordingTab.jsx @@ -16,7 +16,6 @@ const RecordingTab = ({ slug, event, myHeats }) => { const [suggestions, setSuggestions] = useState(null); const [recorderOptOut, setRecorderOptOut] = useState(false); const [updatingOptOut, setUpdatingOptOut] = useState(false); - const [runningMatching, setRunningMatching] = useState(false); // Load suggestions on mount useEffect(() => { @@ -66,18 +65,6 @@ const RecordingTab = ({ slug, event, myHeats }) => { } }; - const handleRunMatching = async () => { - try { - setRunningMatching(true); - await matchingAPI.runMatching(slug); - await loadSuggestions(); - } catch (err) { - console.error('Failed to run matching:', err); - } finally { - setRunningMatching(false); - } - }; - // Calculate countdown to matching const getCountdown = () => { if (!event?.registrationDeadline) return null; @@ -149,41 +136,29 @@ const RecordingTab = ({ slug, event, myHeats }) => { ) : matchingRunAt ? (
Matching completed
-- Last run: {new Date(matchingRunAt).toLocaleString('en-US')} -
-Matching completed
++ Last run: {new Date(matchingRunAt).toLocaleString('en-US', { + dateStyle: 'medium', + timeStyle: 'short' + })} +
Matching has not been run yet
+Matching will be run soon
++ The system will automatically pair recording partners when ready. +