diff options
author | crupest <crupest@outlook.com> | 2023-08-31 01:50:40 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-08-31 01:50:40 +0800 |
commit | fb64a8f3d4a7dd4035f50ccf2601ae0a683bd1b8 (patch) | |
tree | 499e15e9567eae52ed043b8eaf99ddf33db05311 /FrontEnd/src/pages/timeline/TimelinePostCreateView.tsx | |
parent | 9c69024cf5961c3c71fb58e4237f09a513d195b1 (diff) | |
download | timeline-fb64a8f3d4a7dd4035f50ccf2601ae0a683bd1b8.tar.gz timeline-fb64a8f3d4a7dd4035f50ccf2601ae0a683bd1b8.tar.bz2 timeline-fb64a8f3d4a7dd4035f50ccf2601ae0a683bd1b8.zip |
...
Diffstat (limited to 'FrontEnd/src/pages/timeline/TimelinePostCreateView.tsx')
-rw-r--r-- | FrontEnd/src/pages/timeline/TimelinePostCreateView.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/FrontEnd/src/pages/timeline/TimelinePostCreateView.tsx b/FrontEnd/src/pages/timeline/TimelinePostCreateView.tsx index 3bc4dab3..70925cd9 100644 --- a/FrontEnd/src/pages/timeline/TimelinePostCreateView.tsx +++ b/FrontEnd/src/pages/timeline/TimelinePostCreateView.tsx @@ -10,10 +10,9 @@ import { HttpTimelinePostPostRequestData, } from "~src/http/timeline"; -import { pushAlert } from "~src/services/alert"; - import base64 from "~src/utilities/base64"; +import { pushAlert } from "~src/components/alert"; import BlobImage from "~src/components/BlobImage"; import LoadingButton from "~src/components/button/LoadingButton"; import PopupMenu from "~src/components/menu/PopupMenu"; @@ -141,7 +140,7 @@ function TimelinePostEdit(props: TimelinePostEditProps) { const onPostError = (): void => { pushAlert({ - type: "danger", + color: "danger", message: "timeline.sendPostFailed", }); }; |