skipCurrentStep() {
    const status = PermissionStatusEnum.DENIED;
    const nextStep = this.getNextStep(this.state.currentStep);

    switch (this.state.currentStep) {
      case StepEnum.LOCATION:
        this.setState({
          currentStep: nextStep,
          locationPermission: status,
        });
        break;
      case StepEnum.NOTIFICATIONS:
        this.setState({
          currentStep: nextStep,
          notificationPermission: status,
        });
        break;
      case StepEnum.HCA_SUBSCRIPTION:
        this.setState({
          currentStep: nextStep,
          authSubscriptionStatus: status,
        });
        break;
    }
  }
/**
   * Allows the user to skip over a given step by setting the
   * permission for that step to `DENIED`
   * @returns {StepEnum}
   */
Allows the user to skip over a given step by setting the
permission for that step to `DENIED`
@returns {StepEnum}
Allows the user to skip over a given step by setting the permission for that step to ` DENIED ` @returns { StepEnum }
skipCurrentStep() {
    const status = PermissionStatusEnum.DENIED;
    const nextStep = this.getNextStep(this.state.currentStep);
    switch (this.state.currentStep) {
      case StepEnum.LOCATION:
        this.setState({
          currentStep: nextStep,
          locationPermission: status,
        });
        break;
      case StepEnum.NOTIFICATIONS:
        this.setState({
          currentStep: nextStep,
          notificationPermission: status,
        });
        break;
      case StepEnum.HCA_SUBSCRIPTION:
        this.setState({
          currentStep: nextStep,
          authSubscriptionStatus: status,
        });
        break;
    }
  }
skipCurrentStep ( ) { const status = PermissionStatusEnum . DENIED ; const nextStep = this . getNextStep ( this . state . currentStep ) ; switch ( this . state . currentStep ) { case StepEnum . LOCATION : this . setState ( { currentStep : nextStep , locationPermission : status , } ) ; break ; case StepEnum . NOTIFICATIONS : this . setState ( { currentStep : nextStep , notificationPermission : status , } ) ; break ; case StepEnum . HCA_SUBSCRIPTION : this . setState ( { currentStep : nextStep , authSubscriptionStatus : status , } ) ; break ; } }
Allows the user to skip over a given step by setting the
 permission for that step to `DENIED`
 @returns {StepEnum}
Allows the user to skip over a given step by setting the permission for that step to ` DENIED ` @returns { StepEnum }