From fb64a8f3d4a7dd4035f50ccf2601ae0a683bd1b8 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 31 Aug 2023 01:50:40 +0800 Subject: ... --- FrontEnd/src/pages/timeline/TimelinePostCreateView.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'FrontEnd/src/pages/timeline/TimelinePostCreateView.tsx') 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", }); }; -- cgit v1.2.3