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/TimelineCard.tsx | |
parent | 9c69024cf5961c3c71fb58e4237f09a513d195b1 (diff) | |
download | timeline-fb64a8f3d4a7dd4035f50ccf2601ae0a683bd1b8.tar.gz timeline-fb64a8f3d4a7dd4035f50ccf2601ae0a683bd1b8.tar.bz2 timeline-fb64a8f3d4a7dd4035f50ccf2601ae0a683bd1b8.zip |
...
Diffstat (limited to 'FrontEnd/src/pages/timeline/TimelineCard.tsx')
-rw-r--r-- | FrontEnd/src/pages/timeline/TimelineCard.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FrontEnd/src/pages/timeline/TimelineCard.tsx b/FrontEnd/src/pages/timeline/TimelineCard.tsx index 44dfbf9e..1e0e9b75 100644 --- a/FrontEnd/src/pages/timeline/TimelineCard.tsx +++ b/FrontEnd/src/pages/timeline/TimelineCard.tsx @@ -2,11 +2,11 @@ import { useState } from "react"; import { HubConnectionState } from "@microsoft/signalr"; import { useUser } from "~src/services/user"; -import { pushAlert } from "~src/services/alert"; import { HttpTimelineInfo } from "~src/http/timeline"; import { getHttpBookmarkClient } from "~src/http/bookmark"; +import { pushAlert } from "~src/components/alert"; import { useMobile } from "~src/components/hooks"; import { Dialog, DialogProvider, useDialog } from "~src/components/dialog"; import UserAvatar from "~src/components/user/UserAvatar"; @@ -89,7 +89,7 @@ export default function TimelineCard(props: TimelinePageCardProps) { message: timeline.isBookmark ? "timeline.removeBookmarkFail" : "timeline.addBookmarkFail", - type: "danger", + color: "danger", }); }); }} |