MCPcopy
hub / github.com/guaguaguaxia/weekly_report / updateHistoryCount

Function updateHistoryCount

pages/index.tsx:37–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36 // 更新历史记录数量和触发刷新
37 const updateHistoryCount = () => {
38 setHistoryCount(HistoryStorage.getHistory().length);
39 };
40
41 const triggerHistoryRefresh = () => {
42 setHistoryRefreshTrigger(prev => prev + 1);

Callers 2

triggerHistoryRefreshFunction · 0.85
HomeFunction · 0.85

Calls 1

getHistoryMethod · 0.80

Tested by

no test coverage detected