+
+
+
+ {entries.length > 0 && (
+
+
+
+ Previous feedback
+
+
+
+
+ {entries.map((entry) => (
+
+ ))}
+
+
+
+ )}
+
+ );
+}
+
+function FeedbackEntryItem({ entry }: { entry: FeedbackEntry }) {
+ const formatted = new Date(entry.createdAt).toLocaleDateString(undefined, {
+ month: "short",
+ day: "numeric",
+ });
+
+ return (
+