From 2c3b2917c123708f39c1d5288b850a23f0e6042f Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Sat, 13 Feb 2021 21:55:47 +0800
Subject: ...

---
 FrontEnd/src/app/views/timeline-common/TimelinePostListView.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'FrontEnd/src/app/views/timeline-common/TimelinePostListView.tsx')

diff --git a/FrontEnd/src/app/views/timeline-common/TimelinePostListView.tsx b/FrontEnd/src/app/views/timeline-common/TimelinePostListView.tsx
index 63255619..961b4667 100644
--- a/FrontEnd/src/app/views/timeline-common/TimelinePostListView.tsx
+++ b/FrontEnd/src/app/views/timeline-common/TimelinePostListView.tsx
@@ -1,4 +1,4 @@
-import React from "react";
+import React, { Fragment } from "react";
 import clsx from "clsx";
 
 import { HttpTimelinePostInfo } from "@/http/timeline";
@@ -53,7 +53,7 @@ const TimelinePostListView: React.FC<TimelinePostListViewProps> = (props) => {
     <div style={style} className={clsx("timeline", className)}>
       {groupedPosts.map((group) => {
         return (
-          <>
+          <Fragment key={group.date.toDateString()}>
             <TimelineDateLabel date={group.date} />
             {group.posts.map((post) => {
               return (
@@ -65,7 +65,7 @@ const TimelinePostListView: React.FC<TimelinePostListViewProps> = (props) => {
                 />
               );
             })}
-          </>
+          </Fragment>
         );
       })}
     </div>
-- 
cgit v1.2.3

