clean up noty and remove animate.css

This commit is contained in:
pa
2026-03-09 17:14:20 +09:00
parent 3dadc84179
commit e5500f47be
16 changed files with 146 additions and 105 deletions
+3 -8
View File
@@ -1,7 +1,5 @@
import { toast } from 'vue-sonner';
import Noty from 'noty';
import {
useAuthStore,
useModalStore,
@@ -189,12 +187,9 @@ export function request(endpoint, options) {
text = data.OK;
}
if (text) {
new Noty({
type: 'success',
text: options.customMsg
? options.customMsg
: escapeTag(text)
}).show();
toast.success(
options.customMsg ? options.customMsg : escapeTag(text)
);
}
return data;
}