mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-29 09:37:37 +08:00
fix(ui): add close button to all success toasts
This commit is contained in:
@@ -87,6 +87,7 @@ export function useDragSort(providers: Record<string, Provider>, appId: AppId) {
|
||||
t("provider.sortUpdated", {
|
||||
defaultValue: "排序已更新",
|
||||
}),
|
||||
{ closeButton: true },
|
||||
);
|
||||
} catch (error) {
|
||||
console.error("Failed to update provider sort order", error);
|
||||
|
||||
Reference in New Issue
Block a user