test: await client settlement in late-response cases (WealthLedger/frontend#61) (#81)
Frontend verify / commits (push) Skipped
Frontend verify / security (push) Successful in 10s
Frontend verify / verify (push) Successful in 7m35s

This commit was merged in pull request #81.
This commit is contained in:
2026-10-14 14:13:41 +03:00
parent edc7097bd7
commit f3725c202b
4 changed files with 39 additions and 14 deletions
@@ -101,6 +101,7 @@ function useStocksPageVm() {
};
return {
changePage,
criteria,
error,
items: page?.items ?? [],
@@ -111,6 +112,8 @@ function useStocksPageVm() {
onSearch: () => void search(),
page: page?.page,
resultTime: page?.asOf,
// Test seam: settle the actual operation instead of the handler release.
search,
searched: page !== null,
totalPages: page ? page.page + Number(page.hasNext) : 0,
};