Explorar o código

fix: adjust notice

GyDi %!s(int64=2) %!d(string=hai) anos
pai
achega
e19fe5ce1c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/pages/profiles.tsx

+ 2 - 2
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);
     }
   });