aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/center
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-12-21 13:55:33 +0800
committercrupest <crupest@outlook.com>2022-12-21 13:55:58 +0800
commit310b093e2f11fcaa239c3f411c6acf2bdc501e9a (patch)
tree7895ef0a87f8153d677ed0100b82166dc100af82 /FrontEnd/src/views/center
parent7946f6c49d08650722b821303b9d043894521008 (diff)
downloadtimeline-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.tsx4
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?: {