From e19fe5ce1cdc40bf95d0a70a6671508b51b2933d Mon Sep 17 00:00:00 2001
From: GyDi <zzzgydi@gmail.com>
Date: Sat, 19 Nov 2022 01:24:07 +0800
Subject: [PATCH] fix: adjust notice

---
 src/pages/profiles.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pages/profiles.tsx b/src/pages/profiles.tsx
index a56f275..fad4434 100644
--- a/src/pages/profiles.tsx
+++ b/src/pages/profiles.tsx
@@ -133,9 +133,9 @@ const ProfilePage = () => {
       setCurrentProfile(current);
       mutate("getProfiles", { ...profiles, current: current }, true);
       mutate("getRuntimeLogs");
-      // if (force) Notice.success("Refresh clash config", 1000);
+      Notice.success("Refresh clash config", 1000);
     } catch (err: any) {
-      Notice.error(err?.message || err.toString());
+      Notice.error(err?.message || err.toString(), 4000);
     }
   });
 
-- 
GitLab