From 526f0145f190e7a2fd24fcffec5fea9deafab273 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Tue, 7 Feb 2017 02:06:32 -0300 Subject: [PATCH] if goTo is not defined --- client/coral-admin/src/containers/Install/InstallContainer.js | 4 ++-- client/coral-ui/components/WizardNav.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/coral-admin/src/containers/Install/InstallContainer.js b/client/coral-admin/src/containers/Install/InstallContainer.js index 063e36578..869901e3e 100644 --- a/client/coral-admin/src/containers/Install/InstallContainer.js +++ b/client/coral-admin/src/containers/Install/InstallContainer.js @@ -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 (

Welcome to the Coral Project

- { install.step !== 0 ? : null } + { install.step !== 0 ? : null } diff --git a/client/coral-ui/components/WizardNav.js b/client/coral-ui/components/WizardNav.js index 9fd9a1f23..be3ce07e5 100644 --- a/client/coral-ui/components/WizardNav.js +++ b/client/coral-ui/components/WizardNav.js @@ -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 (