Persist observed tender source revisions and expose paginated history

This commit is contained in:
2026-09-06 10:49:30 +03:00
parent a0f4824c7e
commit 68fe84e9c7
9 changed files with 166 additions and 0 deletions
+1
View File
@@ -268,6 +268,7 @@ export const AppProvider = ({ children }) => {
const data = await fetchLiveTenders({ refresh });
setTenders(prev => applyTenderStates(mergeUserState(data.tenders, prev), savedTenderStates.current));
setLiveDataSource({ source: data.source, fetchedAt: data.fetchedAt });
if(data.historyWarning)setLiveDataError(data.historyWarning);
setLiveStats({
toplamIhale: data.totalCount ?? 0,
bugunEklenen: data.todayCount ?? 0,