aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/pages/timeline/edit/TimelinePostCreateView.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-09-14 23:47:16 +0800
committercrupest <crupest@outlook.com>2023-09-16 23:06:31 +0800
commitaef14be13c3bd9e93eeea598dbfbf707ba98d448 (patch)
treebb0a4199849dec57c5f0c190cb213fc22296622c /FrontEnd/src/pages/timeline/edit/TimelinePostCreateView.tsx
parent754597d49cd2d3f6295e5fe3ed68c6210bf4e8a5 (diff)
downloadtimeline-aef14be13c3bd9e93eeea598dbfbf707ba98d448.tar.gz
timeline-aef14be13c3bd9e93eeea598dbfbf707ba98d448.tar.bz2
timeline-aef14be13c3bd9e93eeea598dbfbf707ba98d448.zip
...
Diffstat (limited to 'FrontEnd/src/pages/timeline/edit/TimelinePostCreateView.tsx')
-rw-r--r--FrontEnd/src/pages/timeline/edit/TimelinePostCreateView.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/FrontEnd/src/pages/timeline/edit/TimelinePostCreateView.tsx b/FrontEnd/src/pages/timeline/edit/TimelinePostCreateView.tsx
index 0de75ccd..c0a80ad0 100644
--- a/FrontEnd/src/pages/timeline/edit/TimelinePostCreateView.tsx
+++ b/FrontEnd/src/pages/timeline/edit/TimelinePostCreateView.tsx
@@ -104,6 +104,7 @@ function TimelinePostEdit(props: TimelinePostEditProps) {
throw new UiLogicError();
}
requestDataList = await mdBuild();
+ break;
default:
throw new UiLogicError("Unknown content type.");
}
@@ -174,6 +175,7 @@ function TimelinePostEdit(props: TimelinePostEditProps) {
<IconButton color="primary" icon={postKindIconMap[kind]} />
</PopupMenu>
<LoadingButton
+ className="timeline-post-create-send"
onClick={() => void onSend()}
color="primary"
disabled={!canSend}