From 5d47c5d9680f1e54c9a25007fbbe75b0de8de668 Mon Sep 17 00:00:00 2001 From: Sara Date: Wed, 13 Dec 2023 16:50:55 +0100 Subject: [PATCH] fix layout loading --- .../correct/participantList.tsx | 29 +++++++++++-------- 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/www/app/[domain]/transcripts/[transcriptId]/correct/participantList.tsx b/www/app/[domain]/transcripts/[transcriptId]/correct/participantList.tsx index fe06653e..ab05c980 100644 --- a/www/app/[domain]/transcripts/[transcriptId]/correct/participantList.tsx +++ b/www/app/[domain]/transcripts/[transcriptId]/correct/participantList.tsx @@ -323,15 +323,18 @@ const ParticipantList = ({ return (
-
+
- {action && ( - + ) : ( +
)} + {loading || + participants.loading || + (topicWithWords.loading && ( + + ))}
- {loading || - participants.loading || - (topicWithWords.loading && ( - - ))} {participants.response && (
    {participants.response.map((participant: Participant) => (