+ {values.comments.length > 0 && values.comments.map((comment, index) => (
+
+
+
+ {
+ editingComment === index
+ ?
+
+
+
+ :
+
+ {comment.author || 'Anonymous'}
+
+ }
+
+
+ {formatDate(comment.date, dateFormat)}
+
+
+
+
+
+ {
+ editingComment === index
+ ?
+
+
+
+ :
+ }
- ))}
-
-
+ ))}
+
+
- )}
-
-