diff options
author | crupest <crupest@outlook.com> | 2020-08-05 23:33:23 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-08-05 23:33:23 +0800 |
commit | 5f1fb558beebfbf6630ac7bb8fc11fbde36321af (patch) | |
tree | 978fe18fcc1089bc6c02cc998800e8fa75781fec /Timeline/ClientApp/src | |
parent | b11c1da0d3c5220384e8d9b12a9ec5b9efd09a3a (diff) | |
download | timeline-5f1fb558beebfbf6630ac7bb8fc11fbde36321af.tar.gz timeline-5f1fb558beebfbf6630ac7bb8fc11fbde36321af.tar.bz2 timeline-5f1fb558beebfbf6630ac7bb8fc11fbde36321af.zip |
Do code clean.
Diffstat (limited to 'Timeline/ClientApp/src')
-rw-r--r-- | Timeline/ClientApp/src/app/timeline/TimelinePageTemplate.tsx | 8 |
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;
|