mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 10:45:55 +08:00
if goTo is not defined
This commit is contained in:
@@ -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/>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user