From b1ee8687237a6346f865bc0dca50f9b0b3d39bc2 Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Wed, 5 Aug 2020 23:33:23 +0800
Subject: Do code clean.

---
 Timeline/ClientApp/src/app/timeline/TimelinePageTemplate.tsx | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

(limited to 'Timeline/ClientApp/src/app/timeline/TimelinePageTemplate.tsx')

diff --git a/Timeline/ClientApp/src/app/timeline/TimelinePageTemplate.tsx b/Timeline/ClientApp/src/app/timeline/TimelinePageTemplate.tsx
index eee00250..56a41f95 100644
--- a/Timeline/ClientApp/src/app/timeline/TimelinePageTemplate.tsx
+++ b/Timeline/ClientApp/src/app/timeline/TimelinePageTemplate.tsx
@@ -8,7 +8,6 @@ import { pushAlert } from '../common/alert-service';
 import { useUser, userInfoService, UserNotExistError } from '../data/user';
 import {
   timelineService,
-  TimelineInfo,
   usePostList,
   useTimelineInfo,
 } from '../data/timeline';
@@ -30,10 +29,9 @@ export interface TimelinePageTemplateProps<TManageItem> {
   notFoundI18nKey: string;
 }
 
-export default function TimelinePageTemplate<
-  TManageItem,
-  TTimeline extends TimelineInfo
->(props: TimelinePageTemplateProps<TManageItem>): React.ReactElement | null {
+export default function TimelinePageTemplate<TManageItem>(
+  props: TimelinePageTemplateProps<TManageItem>
+): React.ReactElement | null {
   const { t } = useTranslation();
 
   const { name } = props;
-- 
cgit v1.2.3

