feat(onboarding): transaction count, onboarding counters and checklist reducer (#351) #377

Merged
maximus merged 2 commits from issue-351-onboarding-core into main 2026-10-04 12:51:11 +00:00
Showing only changes of commit 76fd8d376a - Show all commits

View file

@ -93,8 +93,9 @@ export function useOnboardingChecklist() {
const snapshot = await getOnboardingCounters(); const snapshot = await getOnboardingCounters();
dispatch({ type: "LOAD_DONE", snapshot }); dispatch({ type: "LOAD_DONE", snapshot });
} catch (e) { } catch (e) {
logError("Onboarding: failed to load checklist counters", errorMessage(e)); const error = errorMessage(e);
dispatch({ type: "LOAD_ERROR", error: errorMessage(e) }); logError("Onboarding: failed to load checklist counters", error);
dispatch({ type: "LOAD_ERROR", error });
} }
}, []); }, []);