fix: big wizard fixes

This commit is contained in:
Taranto 2020-10-16 12:02:07 +01:00 committed by Josh Harvey
parent 89bb9a8f25
commit 0a491e0522
10 changed files with 9 additions and 18 deletions

View file

@ -66,9 +66,7 @@ const GET_DATA = gql`
const Main = () => {
const classes = useStyles()
const { data, loading } = useQuery(GET_DATA, {
notifyOnNetworkStatusChange: true
})
const { data, loading } = useQuery(GET_DATA)
if (loading) {
return <></>
@ -79,7 +77,7 @@ const Main = () => {
return (
<div className={classes.root}>
<Router>
{wizardStep && <Wizard wizardStep={wizardStep} />}
{wizardStep > 0 && <Wizard wizardStep={wizardStep} />}
<Header tree={tree} />
<main className={classes.wrapper}>
<Routes />