if goTo is not defined

This commit is contained in:
Belen Curcio
2017-02-07 02:06:32 -03:00
parent 0b9956a842
commit 526f0145f1
2 changed files with 3 additions and 3 deletions
@@ -11,13 +11,13 @@ import CreateYourAccount from './components/Steps/CreateYourAccount';
import FinalStep from './components/Steps/FinalStep';
const InstallContainer = props => {
const {goToStep, install} = props;
const {install} = props;
return (
<Layout restricted={true}>
<div className={styles.Install}>
<h2>Welcome to the Coral Project</h2>
{ install.step !== 0 ? <WizardNav goToStep={goToStep} items={install.navItems} currentStep={install.step} icon='check'/> : null }
{ install.step !== 0 ? <WizardNav items={install.navItems} currentStep={install.step} icon='check'/> : null }
<Wizard currentStep={install.step} {...props}>
<InitialStep/>
<AddOrganizationName/>
+1 -1
View File
@@ -3,7 +3,7 @@ import styles from './WizardNav.css';
import Icon from './Icon';
const WizardNav = props => {
const {goToStep, currentStep, items, icon} = props;
const {goToStep = () => {}, currentStep, items, icon} = props;
return (
<nav className={styles.WizardNav}>
<ul>