Browse Source

fix: 更新消息颜色

Before 8 months ago
parent
commit
61d80700bf

+ 1 - 1
src/app/[locale]/(navbar)/notification/components/Notices.tsx

@@ -47,7 +47,7 @@ const SystemMessage = (props: Props) => {
                                     <h6 className={""}>{notice.content?.title}</h6>
                                     <Badge
                                         className={`ml-[0.1rem] h-[0.06rem] w-[0.06rem]`}
-                                        style={{ "--color": "#f0dc00" }}
+                                        style={{ "--color": "#ff311b" }}
                                         content={!notice.is_read ? Badge.dot : ""}
                                     ></Badge>
                                 </header>

+ 0 - 1
src/app/[locale]/(navbar)/notification/page.tsx

@@ -21,7 +21,6 @@ const getUserNotices = () => {
 const Notification = async () => {
     const systemNotices = await getSystemNotifications();
     const userNotices = await getUserNotices();
-    console.log(`🚀🚀🚀🚀🚀-> in page.tsx on 24`, userNotices);
     const t = await getTranslations("ProfilePage");
     const defaultTabs = [
         {