Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-2285/bugfix/do-not-sign-out-from-onboarding-on-ghosty-navigation #702

Merged
Changes from all commits
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

@@ -61,12 +61,6 @@ const StepProgressBar = (props) => {
step4: currentStepNumber === 4
});

const logoutIfStepOne = (stepId) => {
const { actions } = props;
const { logout } = actions;
if (stepId === LOGIN) logout();
};

const renderStep = (step, isCurrent, stepClass) => {
const labelClasses = ClassNames('StepProgressBar__label', {
current: isCurrent,
@@ -86,7 +80,7 @@ const StepProgressBar = (props) => {

return (
<div className="StepProgressBar__column">
<NavLink to={step.route} onClick={() => logoutIfStepOne(step.id)}>
<NavLink to={step.route}>
<div className={labelClasses}>{step.label}</div>
<div className={stepClasses} />
</NavLink>
ProTip! Use n and p to navigate between commits in a pull request.