States and Selectors

|-/redux
    |
        |- index.ts
        |- InfoOnboardingSlice.ts
Initial State
const initialState: InfoOnboardingItemState = {
  showInfoOnboarding: true,
  showInfoOnboardingHadError: false,
};
Selectors
  • getShowInfoOnboardingItem: gets a boolean value that determines whether the user is successfully onboarded.

  • getShowInfoOnboardingHadError: gets a boolean value that determines if an error occurred while loading the onboarding information.

Last updated