diff --git a/www/app/[domain]/transcripts/[transcriptId]/correct/participantList.tsx b/www/app/[domain]/transcripts/[transcriptId]/correct/participantList.tsx index 1b8d579e..d379b299 100644 --- a/www/app/[domain]/transcripts/[transcriptId]/correct/participantList.tsx +++ b/www/app/[domain]/transcripts/[transcriptId]/correct/participantList.tsx @@ -1,4 +1,4 @@ -import { faArrowTurnDown, faSpinner } from "@fortawesome/free-solid-svg-icons"; +import { faArrowTurnDown } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { ChangeEvent, useEffect, useRef, useState } from "react"; import { Participant } from "../../../../api"; @@ -338,7 +338,7 @@ const ParticipantList = ({ colorScheme="blue" disabled={!action || anyLoading} > - {action || !anyLoading ? ( + {!anyLoading ? ( <> { - console.log(currentTopic?.id); - currentTopic?.id && window.localStorage.setItem(transcriptId + "correct", currentTopic?.id); }, [currentTopic?.id]); diff --git a/www/app/[domain]/transcripts/[transcriptId]/correct/topicPlayer.tsx b/www/app/[domain]/transcripts/[transcriptId]/correct/topicPlayer.tsx index 6fd61c3c..6695a994 100644 --- a/www/app/[domain]/transcripts/[transcriptId]/correct/topicPlayer.tsx +++ b/www/app/[domain]/transcripts/[transcriptId]/correct/topicPlayer.tsx @@ -179,7 +179,6 @@ const TopicPlayer = ({ mp3.media?.pause(); setIsPlaying(false); }; - console.log(topicTime); const isLoaded = !!(mp3.media && topicTime); return ( diff --git a/www/app/[domain]/transcripts/[transcriptId]/correct/topicWords.tsx b/www/app/[domain]/transcripts/[transcriptId]/correct/topicWords.tsx index ac3bb52c..cb847f1d 100644 --- a/www/app/[domain]/transcripts/[transcriptId]/correct/topicWords.tsx +++ b/www/app/[domain]/transcripts/[transcriptId]/correct/topicWords.tsx @@ -1,5 +1,4 @@ import { Dispatch, SetStateAction, useEffect } from "react"; -import WaveformLoading from "../../waveformLoading"; import { UseParticipants } from "../../useParticipants"; import { UseTopicWithWords } from "../../useTopicWithWords"; import { TimeSlice, selectedTextIsTimeSlice } from "./types"; diff --git a/www/app/[domain]/transcripts/useTopics.ts b/www/app/[domain]/transcripts/useTopics.ts index 4da63138..75864107 100644 --- a/www/app/[domain]/transcripts/useTopics.ts +++ b/www/app/[domain]/transcripts/useTopics.ts @@ -18,7 +18,6 @@ const useTopics = (id: string): TranscriptTopics => { const [error, setErrorState] = useState(null); const { setError } = useError(); const api = useApi(); - useEffect(() => { if (!id || !api) return; diff --git a/www/package.json b/www/package.json index 46f5476d..b0821b2f 100644 --- a/www/package.json +++ b/www/package.json @@ -26,9 +26,9 @@ "@vercel/edge-config": "^0.4.1", "autoprefixer": "10.4.14", "axios": "^1.6.2", + "chakra-react-select": "^4.7.6", "eslint": "^8.56.0", "eslint-config-next": "^14.0.4", - "chakra-react-select": "^4.7.6", "fontawesome": "^5.6.3", "framer-motion": "^10.16.16", "jest-worker": "^29.6.2", diff --git a/www/yarn.lock b/www/yarn.lock index 69e327db..b2d55ac1 100644 --- a/www/yarn.lock +++ b/www/yarn.lock @@ -2087,9 +2087,9 @@ camelcase@^6.3.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001406, caniuse-lite@^1.0.30001464, caniuse-lite@^1.0.30001503: - version "1.0.30001515" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001515.tgz" - integrity sha512-eEFDwUOZbE24sb+Ecsx3+OvNETqjWIdabMy52oOkIgcUtAsQifjUG9q4U9dgTHJM2mfk4uEPxc0+xuFdJ629QA== + version "1.0.30001572" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001572.tgz" + integrity sha512-1Pbh5FLmn5y4+QhNyJE9j3/7dK44dGB83/ZMjv/qJk86TvDbjk0LosiZo0i0WB0Vx607qMX9jYrn1VLHCkN4rw== chakra-react-select@^4.7.6: version "4.7.6"