Skip to content

Commit bd9ea2d

Browse files
committed
fix(notifications): change MAX_HISTORY_ITEMS from 100 to 50
1 parent c66ad85 commit bd9ea2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/ui/src/lib/notifications.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ type ToastHistoryCallback = (items: IToastHistoryItem[]) => void;
6868
// ==================== Toast History Store ====================
6969

7070
/** 最大歷史記錄數量 / Maximum history records */
71-
const MAX_HISTORY_ITEMS = 100;
71+
const MAX_HISTORY_ITEMS = 50;
7272

7373
/** 歷史記錄(模組級別私有狀態)/ History records (module-level private state) */
7474
let _historyItems: IToastHistoryItem[] = [];

0 commit comments

Comments
 (0)