diff --git a/src/components/Interpretations/InterpretationModal/InterpretationThread.js b/src/components/Interpretations/InterpretationModal/InterpretationThread.js index 3106ecb62..03686cd7b 100644 --- a/src/components/Interpretations/InterpretationModal/InterpretationThread.js +++ b/src/components/Interpretations/InterpretationModal/InterpretationThread.js @@ -35,51 +35,47 @@ const InterpretationThread = ({ return (
-
-
- - {moment(fromServerDate(interpretation.created)).format( - 'LLL' - )} -
- {DownloadMenu && ( - - )} -
- focusRef.current?.focus() - : null - } - onUpdated={() => onThreadUpdated(true)} - onDeleted={onInterpretationDeleted} - isInThread={true} - /> -
- {interpretation.comments.map((comment) => ( - - ))} -
- {interpretationAccess.comment && ( - + + {moment(fromServerDate(interpretation.created)).format('LLL')} +
+ {DownloadMenu && ( + + )} +
+ focusRef.current?.focus() + : null + } + onUpdated={() => onThreadUpdated(true)} + onDeleted={onInterpretationDeleted} + isInThread={true} + /> +
+ {interpretation.comments.map((comment) => ( + onThreadUpdated(true)} - focusRef={focusRef} + onThreadUpdated={onThreadUpdated} + canComment={interpretationAccess.comment} /> - )} + ))}
+ {interpretationAccess.comment && ( + onThreadUpdated(true)} + focusRef={focusRef} + /> + )}