diff --git a/components/lists/QuizList.tsx b/components/lists/QuizList.tsx index dfad0f6d892395de3a1f4dbfc89f83d0c91a90dd..81051a6c0ef0f9ed7e65e530c17672ee4e880d19 100644 --- a/components/lists/QuizList.tsx +++ b/components/lists/QuizList.tsx @@ -42,7 +42,6 @@ interface Props { } export default function QuizList({ quizList, isLoadingData, nextPage, onQuizPressed }: Props) { if (quizList) { - console.log(quizList[0]); } const renderQuizItem = ({ item }: { item: Quiz }) => ( <TouchableOpacity style={styles.quizItem} onPress={() => onQuizPressed(item)}> diff --git a/screens/Multiplayer/Lobby/Lobby.tsx b/screens/Multiplayer/Lobby/Lobby.tsx index bdcdb42ee12f4957bd1ddbe5fffe03b6f0b68615..fee0d0d9dc6a153ff4aa3bb27b9fc1e9f983b0ec 100644 --- a/screens/Multiplayer/Lobby/Lobby.tsx +++ b/screens/Multiplayer/Lobby/Lobby.tsx @@ -48,7 +48,6 @@ export default function Lobby({navigation, route}: Props) { }); setSocket(newSocket); - console.log(isHost); if(isHost) { newSocket.on("roomCreated", (data) => { diff --git a/screens/Multiplayer/Lobby/PlayingQuizMultiMode/PlayingQuizMultiModeBody.tsx b/screens/Multiplayer/Lobby/PlayingQuizMultiMode/PlayingQuizMultiModeBody.tsx index 1a5d7130725faf716240eb28f916b7ed5a85acfc..f7cda1aa97ab7842d496b165befd1bafc5d4fab2 100644 --- a/screens/Multiplayer/Lobby/PlayingQuizMultiMode/PlayingQuizMultiModeBody.tsx +++ b/screens/Multiplayer/Lobby/PlayingQuizMultiMode/PlayingQuizMultiModeBody.tsx @@ -49,9 +49,6 @@ const getStyleOfAnswerButtonText = (answerId: number, selectedAnswerIndex: numbe } const getStyleOfAnswerButton = (answerId: number, selectedAnswerIndex: number | null, correctAnswerId: number | null, quizState: QuizState) => { - console.log("answerId :", answerId); - console.log("selectedAnswerIndex :", selectedAnswerIndex); - console.log("correctAnswerId :", correctAnswerId); if(quizState === QuizState.LOADING) { return styles.loadingAnswer; @@ -77,10 +74,8 @@ export default function PlayingQuizMultiModeBody({runId, actualQuestion, fetchAc const [isLastQuestion, setIsLastQuestion] = useState(false); const [quizInformations, setQuizInformations] = useState<QuizInformations>(); const [runInformations, setRunInformations] = useState<RunInformations>(); - const {answerQuestion, getRunsInfo, getQuizInformations} = useQuizService(); const getCorrectAnswer = (answers: Answer[]): Answer => { - console.log("starting getCorrectAnswer"); const correctAnswer = answers.find((answer) => answer.isCorrect); if (!correctAnswer) return answers[0]; return correctAnswer;