aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-08-05 23:33:23 +0800
committercrupest <crupest@outlook.com>2020-08-05 23:33:23 +0800
commitb1ee8687237a6346f865bc0dca50f9b0b3d39bc2 (patch)
treeb9668785de6569bc7de008ba90e4a81254d71d0f /Timeline/ClientApp/src
parent2ac313b01f56c1ba0ad05e43d60dad6ce450d0af (diff)
downloadtimeline-b1ee8687237a6346f865bc0dca50f9b0b3d39bc2.tar.gz
timeline-b1ee8687237a6346f865bc0dca50f9b0b3d39bc2.tar.bz2
timeline-b1ee8687237a6346f865bc0dca50f9b0b3d39bc2.zip
Do code clean.
Diffstat (limited to 'Timeline/ClientApp/src')
-rw-r--r--Timeline/ClientApp/src/app/timeline/TimelinePageTemplate.tsx8
1 files changed, 3 insertions, 5 deletions
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;