feat(onboarding): transaction count, onboarding counters and checklist reducer (#351) #377
1 changed files with 3 additions and 2 deletions
|
|
@ -93,8 +93,9 @@ export function useOnboardingChecklist() {
|
|||
const snapshot = await getOnboardingCounters();
|
||||
dispatch({ type: "LOAD_DONE", snapshot });
|
||||
} catch (e) {
|
||||
logError("Onboarding: failed to load checklist counters", errorMessage(e));
|
||||
dispatch({ type: "LOAD_ERROR", error: errorMessage(e) });
|
||||
const error = errorMessage(e);
|
||||
logError("Onboarding: failed to load checklist counters", error);
|
||||
dispatch({ type: "LOAD_ERROR", error });
|
||||
}
|
||||
}, []);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue