diff options
author | crupest <crupest@outlook.com> | 2022-12-21 13:55:33 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-12-21 13:55:58 +0800 |
commit | 310b093e2f11fcaa239c3f411c6acf2bdc501e9a (patch) | |
tree | 7895ef0a87f8153d677ed0100b82166dc100af82 /FrontEnd/src/views/center | |
parent | 7946f6c49d08650722b821303b9d043894521008 (diff) | |
download | timeline-310b093e2f11fcaa239c3f411c6acf2bdc501e9a.tar.gz timeline-310b093e2f11fcaa239c3f411c6acf2bdc501e9a.tar.bz2 timeline-310b093e2f11fcaa239c3f411c6acf2bdc501e9a.zip |
Fix type error.
Diffstat (limited to 'FrontEnd/src/views/center')
-rw-r--r-- | FrontEnd/src/views/center/TimelineBoard.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FrontEnd/src/views/center/TimelineBoard.tsx b/FrontEnd/src/views/center/TimelineBoard.tsx index 7ff4e0a4..68a887a4 100644 --- a/FrontEnd/src/views/center/TimelineBoard.tsx +++ b/FrontEnd/src/views/center/TimelineBoard.tsx @@ -213,7 +213,7 @@ const TimelineBoardItemContainer: React.FC<TimelineBoardItemContainerProps> = ({ }; interface TimelineBoardUIProps { - title?: string; + title?: string | null; state: "offline" | "loading" | "loaded"; timelines: TimelineBookmark[]; onReload: () => void; @@ -298,7 +298,7 @@ const TimelineBoardUI: React.FC<TimelineBoardUIProps> = (props) => { }; export interface TimelineBoardProps { - title?: string; + title?: string | null; className?: string; load: () => Promise<TimelineBookmark[]>; editHandler?: { |