diff options
author | crupest <crupest@outlook.com> | 2023-08-29 01:30:30 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-08-29 01:30:30 +0800 |
commit | b05860b6d2ea17db29a338659def49dc31082346 (patch) | |
tree | cbbd9d99af5e6b006f142effeae5222278dad02f /FrontEnd/src/pages/timeline/TimelinePropertyChangeDialog.tsx | |
parent | 502dd817c79018c84b0a958dd4b2e24781e68ae1 (diff) | |
download | timeline-b05860b6d2ea17db29a338659def49dc31082346.tar.gz timeline-b05860b6d2ea17db29a338659def49dc31082346.tar.bz2 timeline-b05860b6d2ea17db29a338659def49dc31082346.zip |
Refactor dialog module.
Diffstat (limited to 'FrontEnd/src/pages/timeline/TimelinePropertyChangeDialog.tsx')
-rw-r--r-- | FrontEnd/src/pages/timeline/TimelinePropertyChangeDialog.tsx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/FrontEnd/src/pages/timeline/TimelinePropertyChangeDialog.tsx b/FrontEnd/src/pages/timeline/TimelinePropertyChangeDialog.tsx index afd83a5f..ee5388cb 100644 --- a/FrontEnd/src/pages/timeline/TimelinePropertyChangeDialog.tsx +++ b/FrontEnd/src/pages/timeline/TimelinePropertyChangeDialog.tsx @@ -11,8 +11,6 @@ import { import OperationDialog from "~src/components/dialog/OperationDialog"; export interface TimelinePropertyChangeDialogProps { - open: boolean; - onClose: () => void; timeline: HttpTimelineInfo; onChange: () => void; } @@ -63,8 +61,6 @@ const TimelinePropertyChangeDialog: React.FC< }, }, }} - open={props.open} - onClose={props.onClose} onProcess={({ title, visibility, description }) => { const req: HttpTimelinePatchRequest = {}; if (title !== timeline.title) { |