Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
triggerHistoryRefresh
Function · 0.85
Home
Function · 0.85
Calls
1
getHistory
Method · 0.80
Tested by
no test coverage detected