refactor: normalize view models and share breadcrumbs and titles (WealthLedger/frontend#143)
Frontend verify / commits (pull_request) Successful in 37s
Frontend verify / security (pull_request) Successful in 16s
Frontend verify / verify (pull_request) Successful in 6m59s

This commit is contained in:
2026-11-04 20:48:25 +03:00
parent 2d070ce2b5
commit e5b4bb3ea3
30 changed files with 194 additions and 202 deletions
@@ -39,7 +39,7 @@ type AccountEventsPageViewModel
}
| { state: "loading" };
function useAccountEventsPageViewModel(): AccountEventsPageViewModel {
function useAccountEventsPageVm(): AccountEventsPageViewModel {
const { accountId = "" } = useParams();
const {
@@ -136,4 +136,4 @@ function useAccountEventsPageViewModel(): AccountEventsPageViewModel {
};
}
export { type AccountEventsPageViewModel, useAccountEventsPageViewModel };
export { type AccountEventsPageViewModel, useAccountEventsPageVm };